[haiku-appserver] Re: performance considerations

  • From: Stefano Ceccherini <burton666@xxxxxxxxxxx>
  • To: haiku-appserver@xxxxxxxxxxxxx
  • Date: 20 Sep 2005 06:30:10 -0000

> Couldn't we optimize the code when first writing it?

Are you suggesting to drop BLists and use raw arrays instead ?
Are you aware of the fact that BList::ItemAt() does a bounds checking before 
returning the result ?
Try "BList::ItemAtFast()" which should be much faster (but also unsafe, so you 
need to check the bounds yourself).

Stefano Ceccherini aka Jack Burton
Non resistere alla tentazione di conoscere nuovi amori!
Oltre 1.800.000 persone ti stanno aspettando su Incontri.
Vivi le emozioni fino in fondo!

Other related posts: