RE: [AD] load_datafile_object using index

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


On Mon, 2005-04-18 at 13:55 -0700, Robert Ohannessian wrote:
> Gotcha.
> 

I should have added.. Evert's looks completely fine to me. But if we
later also want to speed up named lookups, then maybe better to switch
to a new struct. Could then later be:

struct DATAFILE_INDEX
{
    long *offsets;
    HASH_TABLE *names; /* given a name, you get the index/offset */
}

and for now, just typedef long DATAFILE_INDEX;

Didn't really too much about it though..

-- 
Elias Pschernig





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