David Goldblatt
63a5cd4cc2
Header refactoring: break out rb.h dependencies
2017-04-11 11:52:30 -07:00
Jason Evans
c0cc5db871
Replace tabs following #define with spaces.
...
This resolves #564 .
2017-01-20 21:45:53 -08:00
Jason Evans
f408643a4c
Remove extraneous parens around return arguments.
...
This resolves #540 .
2017-01-20 21:43:07 -08:00
Jason Evans
c4c2592c83
Update brace style.
...
Add braces around single-line blocks, and remove line breaks before
function-opening braces.
This resolves #537 .
2017-01-20 21:43:07 -08:00
Dave Watson
2b1fc90b7b
Remove rbt_nil
...
Since this is an intrusive tree, rbt_nil is the whole size of the node
and can be quite large. For example, miscelm is ~100 bytes.
2016-02-23 18:09:25 -08:00
Joshua Kahn
e8ab0ab9c0
Add function to destroy tree
...
ex_destroy iterates over the tree using post-order traversal so nodes
can be removed and processed by the callback function without paying the
cost to rebalance the tree. The destruction process cannot be stopped
once started.
2015-11-09 15:56:18 -08:00
Joshua Kahn
13b4015531
Allow const keys for lookup
...
Signed-off-by: Steve Dougherty <sdougherty@barracuda.com>
This resolves #281 .
2015-11-09 15:48:05 -08:00
Steve Dougherty
bd418ce11e
Assert compact color bit is unused
...
Signed-off-by: Joshua Kahn <jkahn@barracuda.com>
This resolves #280 .
2015-11-09 15:44:30 -08:00
Jason Evans
e12eaf93dc
Style and spelling fixes.
2014-12-08 16:34:04 -08:00
Jason Evans
551ebc4364
Convert to uniform style: cond == false --> !cond
2014-10-03 10:16:09 -07:00
Jason Evans
1628e8615e
Add rb_empty().
2014-08-19 21:05:54 -07:00
Jason Evans
0dec3507c6
Remove __FBSDID from rb.h.
2014-01-21 20:49:58 -08:00
Jason Evans
da9dde0854
Clean up rb documentation.
2011-11-01 20:48:31 -07:00
Jason Evans
7427525c28
Move repo contents in jemalloc/ to top level.
2011-03-31 20:36:17 -07:00