haiku/headers/os/support
Rene Gollent 0c8bdbafd5 Revamp BList somewhat to further optimize the resizing behavior.
We now keep track of a lower bound as to when the list should scale
itself back down. When increasing the list size, we double the current,
with the lower bound set to 1/4 of the current size, not allowing it to
go any smaller than the block size. These combined allow us to do very
cheap tests to see if an operation requires a resize at all, and minimize
how often the list actually needs to be resized, since the difference in upper
and lower bounds prevents bouncing back and forth between a size in the case
of adding/removing an item while close to a boundary. All in all this should
make BList noticably more scalable when doing large numbers of add/remove
operations.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25946 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-06-12 21:30:28 +00:00
..
Archivable.h * Rewrote headers as necessary; only Errors.h and Debug.h still originate from a Be header now; 2007-01-26 16:36:29 +00:00
Autolock.h * Rewrote headers as necessary; only Errors.h and Debug.h still originate from a Be header now; 2007-01-26 16:36:29 +00:00
Beep.h * Rewrote headers as necessary; only Errors.h and Debug.h still originate from a Be header now; 2007-01-26 16:36:29 +00:00
BlockCache.h * Rewrote headers as necessary; only Errors.h and Debug.h still originate from a Be header now; 2007-01-26 16:36:29 +00:00
BufferIO.h * Rewrote headers as necessary; only Errors.h and Debug.h still originate from a Be header now; 2007-01-26 16:36:29 +00:00
ByteOrder.h * Rewrote headers as necessary; only Errors.h and Debug.h still originate from a Be header now; 2007-01-26 16:36:29 +00:00
ClassInfo.h * Rewrote headers as necessary; only Errors.h and Debug.h still originate from a Be header now; 2007-01-26 16:36:29 +00:00
DataIO.h Cleanup. 2006-06-30 12:40:15 +00:00
Debug.h * Rewrote BeBuild.h which had "a few" consequences (got rid of all those class 2007-10-15 20:13:55 +00:00
Errors.h Changed all error codes from enum values to macros. This allows for 2008-05-08 20:54:14 +00:00
Flattenable.h * Rewrote headers as necessary; only Errors.h and Debug.h still originate from a Be header now; 2007-01-26 16:36:29 +00:00
List.h Revamp BList somewhat to further optimize the resizing behavior. 2008-06-12 21:30:28 +00:00
Locker.h * Rewrote headers as necessary; only Errors.h and Debug.h still originate from a Be header now; 2007-01-26 16:36:29 +00:00
StopWatch.h * Rewrote headers as necessary; only Errors.h and Debug.h still originate from a Be header now; 2007-01-26 16:36:29 +00:00
String.h * _Realloc() did not initialize the reference count either. 2008-03-10 22:56:27 +00:00
SupportDefs.h * Rewrote headers as necessary; only Errors.h and Debug.h still originate from a Be header now; 2007-01-26 16:36:29 +00:00
TLS.h * Rewrote headers as necessary; only Errors.h and Debug.h still originate from a Be header now; 2007-01-26 16:36:29 +00:00
TypeConstants.h * Rewrote BeBuild.h which had "a few" consequences (got rid of all those class 2007-10-15 20:13:55 +00:00
UTF8.h * Rewrote headers as necessary; only Errors.h and Debug.h still originate from a Be header now; 2007-01-26 16:36:29 +00:00
parsedate.h * Rewrote headers as necessary; only Errors.h and Debug.h still originate from a Be header now; 2007-01-26 16:36:29 +00:00