Re: [AD] mode selector, some observations... |
[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]
In reply to Henrik Stokseth <hstokset@xxxxxxxxxx>: >the dx enumeration is run twice now. once for counting available modes and >twice for filling out the list. obviously i can cut the time to execute >dx_fetch_mode_list() in half by only doing it once using realloc(). Ah... C programmers ;-) Why not use a linked list? Since this API has only just been introduced, I think we can justify changing it till we get it right. Bye for now, -- Laurence Withers, lwithers@xxxxxxxxxx http://www.lwithers.demon.co.uk/
Attachment:
signature.asc
Description: PGP signature
Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |