Get the latest tech news

The Design of Compact Elastic Binary Trees (Cebtree)


Those who often hear me discuss about my week-end projects have been accustomed to hearing about deuterium fusion (that's for another post),...

The first tests showed that the performance was significantly lower than with other allocators, and the idea of scaling that to threads and having to lock the tree achieved to put the final nail in the project's coffin. I could find a good use for this in haproxy 3.1: variables generally have a short name with a small value, and couldn't afford to use a huge ebtree indexing node, so they were still in a linked list. The choice between duplicates or unique keys is specified in the function name now, we don't tag the root to indicate how it will be used anymore; it was indeed found after using ebtrees like this for a while that it makes the code not particularly obvious to understand, as one needs to locate the initialization of the tree to know what to expect after an insert() call.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of Design

Design

Photo of cebtree

cebtree

Related news:

News photo

Design for 3D-Printing

News photo

Apple’s design for the 20th-anniversary iPhone is apparently so ‘extraordinarily complex’ it must be made in China, report says

News photo

20th Anniversary iPhone Likely to Be Made in China Due to 'Extraordinarily Complex' Design