Lost Souls: Free Text-Based RPG
Home » Changelog » Page 91 » Entry #5608

System Changelog Entry #5608

^
#
|<
<<
>>
>|
Summary made map room long descriptions + abstract items demand-generated
Rated Importance
3.0
2 raters
***
Rated Value
4.0
2 raters
****
Type lib revision
By Chaos
When Apr 9 2014 5:52 PM
Description Made it so that the long descriptions and abstract items of map rooms are only generated the first time something requests them, instead of at initial generation of the room configuration.
Reason They're a perfect candidate for lazy generation, being both computationally expensive and relatively rarely used.
Result Initial results suggest from a 10 ms to 50 ms shaved off of the time to generate a map room, reducing it to between 5 ms and 10 ms. I suspect that this may also dramatically reduce our memory usage, though that can't really be examined until the next time we reboot, since the driver never relinquishes system memory.
Version predates automated version tracking

© 2008-2012 Lost Souls, a free text-based RPG
processing time: 0.042s