[sldev] Silly suggestion - improved initial rez time

Callum Lerwick seg at haxxed.com
Thu Jun 14 20:44:11 PDT 2007


On Tue, 2007-06-12 at 12:02 +1000, Tateru Nino wrote:
> 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?

I don't know how portable mmap() is, is windows at all capable of it?
Plain old fopen should be plenty fast. At least on unix systems.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.secondlife.com/pipermail/sldev/attachments/20070614/4d11a0db/attachment.pgp


More information about the SLDev mailing list