On 22 January 2011 06:17, James Paige <[email protected]> wrote:
> On Fri, Jan 21, 2011 at 07:47:44AM -0800, [email protected] 
> wrote:
>> teeemcee
>> 2011-01-21 07:47:44 -0800 (Fri, 21 Jan 2011)
>> 129
>> ~30x faster textbox portrait palette initialisation, and don't perform it at 
>> all in Game. SoJ 2005 now upgrades in half the time!
>
> Nice!

The 30x figure is merely a smokescreen for taking several steps
backwards, to not using any kind of load+save wrapper functions for
the textbox data.

Of interest, approximate breakdown of the time:
Of the 13 seconds that the original version took on this computer, 5
seconds was spent serialising and deserialising the data in
LoadTextBox/SaveTextBox (not including reading from file), 3.5 seconds
was spent on opening and closing .SAY for each textbox, and 3 seconds
was spent on calling getbinsize twice per textbox (huh? That doesn't
look right). Leaving 400ms spent in
loadrecord+storerecord/reading+writing the data.

> ---
> James
> _______________________________________________
> Ohrrpgce mailing list
> [email protected]
> http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org
>
_______________________________________________
Ohrrpgce mailing list
[email protected]
http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org

Reply via email to