RE: [AD] Datafile table of contents caching

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


>Hi all,
>Is there anybody working on the caching of a datafile table of contents
?
>I have a more or less working system and if nobody's working on it
>I'll work it out.
>
>It works as follows:
>
>1 new api function: set_cache_size(int nr_of_files_to_cache)
>
>this will keep a table of contents in memory for the last accessed
datafiles
>this table of contents is used by load_datafile_object, and also
>built by load_datafile_object so there is hardly any overhead in it.

Do you plan to add a 'prescan' facility ?

--vp

Windows NT - Never Tested



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/