[mobile-devel] Bible Text Rendering Speed, SR Beta 1
SonWon
sonwon.1 at gmail.com
Fri Feb 6 21:04:12 MST 2009
Yes, dig up those logs we need to boast the speed of the reader. if we
could fetch a single chapter I think that may help.
Although, what is happening in the SR while the progress bar is on the
screen? Can u give a high level overview. Is it rendering to the
control or fetching stuff from Sword plus rendering? Lots of questions,
I wish we could see where the CPU is spending all of the clock cycles on
this device.
David Trotz wrote:
> David Trotz wrote:
>>
>>>
>>>
>>> When I go to Mark 12:12 it takes 6 seconds to render. I believe
>>> this is a quirk of my device. What I find puzzling is I have an old
>>> Bible Reader program (PPC 2003) I wrote several years ago and it
>>> renders the same text in less than a second. KJV with Strongs in
>>> both examples. Strongs is turned off and both are loaded to the
>>> storage card.
>> 6 Seconds for any text to show at all? or 6 seconds for the progress
>> bar at the bottom of the screen to get to 100%?
>> I just tested it on mine, it takes about 4-5 seconds to show anything
>> at all. I can look more into why this is but part is the slowness of
>> the SWORD engine on these devices, second is the swapping of fonts,
>> strongs numbers requires a font switch every other word, but that
>> still is pretty fast otherwise scrolling would be a bear.
> Also, note this, that the first time a book (i.e. matthew, mark, etc.)
> is opened the sword engine has to uncompress the book, and cache it.
> Then after that going from chapter to chapter will be significantly
> faster, but if you switch books and come back again, there is a good
> chance the book will need to be uncompressed again.
>
> I talked with Troy about this a while back, he gave me some pointers
> on converting a bible to be compressed at the chapter level rather
> than the book level. I was going to do some testing with chapter
> compression and see if we gain much, but never got around to it. That
> might be something you can do for me John, it requires some playing
> with the sword utilities to do the re-encoding. I will look in my IRC
> logs and see if I can find the pointers Troy gave me.
>
> --
> In Christ,
> David Trotz
>
> _______________________________________________
> mobile-devel mailing list
> mobile-devel at crosswire.org
> http://www.crosswire.org/mailman/listinfo/mobile-devel
>
More information about the mobile-devel
mailing list