haiku/headers
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
..
build Revamp BList somewhat to further optimize the resizing behavior. 2008-06-12 21:30:28 +00:00
compatibility/bsd Removed prototypes for openpty() (which lives in pty.h) and forkpty() 2008-05-28 20:44:47 +00:00
cpp GCC 4 fix. 2005-12-11 16:22:51 +00:00
glibc Prevent redefinition of _IO_MTSAFE_IO. It is defined when building the 2008-03-22 15:26:55 +00:00
gnu
legacy/network setsockopt and getsockopt use int as others functions 2006-06-23 14:19:11 +00:00
libs Style improvements. 2008-04-26 09:53:49 +00:00
os Revamp BList somewhat to further optimize the resizing behavior. 2008-06-12 21:30:28 +00:00
posix The "search.h" header had a couple of issues: 2008-06-06 07:42:58 +00:00
private - Add PinCode command replies 2008-06-12 19:18:32 +00:00
tools