[sldev] Silly suggestion - improved initial rez time
Tateru Nino
tateru.nino at gmail.com
Mon Jun 11 19:02:54 PDT 2007
Callum Lerwick wrote:
> On Thu, 2007-06-07 at 13:28 +1000, Tateru Nino wrote:
>
>> What if.... on logout, the viewer wrote out a list of currently loaded
>> texture assets - the index of the memory cache?
>>
>
> Actually, after going over the audio engine, I'm beginning to think
> caching uncompressed textures on the filesystem really is a good idea.
> The audio engine currently caches uncompressed sounds on disk, but only
> as long as the session.
>
> Don't cache them in RAM at all, any more than necessary. Let the
> filesystem block cache do its job. I can't speak for windows, but on
> unix systems this would be quite efficient and effective.
>
You mean, basically, mmap() the whole lot and be done?
--
Tateru Nino
http://dwellonit.blogspot.com/
More information about the SLDev
mailing list