Go to the FreeLists Home Page Home Signup Help Login
 



[haiku-appserver] || [Date Prev] [09-2005 Date Index] [Date Next] || [Thread Prev] [09-2005 Thread Index] [Thread Next]

[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!
http://www.supereva.com
---------------------------------------------------------------






[ Home | Signup | Help | Login | Archives | Lists ]

All trademarks and copyrights within the FreeLists archives are owned by their respective owners.
Everything else ©2007 Avenir Technologies, LLC.