Re: [AD] file loading

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


On 2009-04-19, Evert Glebbeek <eglebbk@xxxxxxxxxx> wrote:
> On 19 Apr 2009, at 17:23 , Thomas Fjellstrom wrote:
> > There is no reason to have per thread vtables. and all it'll do is  
> > make io
> > that much slower (tls != fast). I don't know why it was changed.
> 
> Well, I wouldn't say that there is no reason; I can see that there are  
> situations where it's useful. Whether it's something that's necessary  
> is another matter; I'd say probably not.
> I also don't know how big the overhead of TLS is in practice, so I  
> don't know whether it's significant compared to file I/O or not.

TLS only changes al_fopen().  After that the table pointer is retrieved
from the ALLEGRO_FILE itself, hence there is no impact.

Peter





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