We're playing with the use of Judy in TelegraphCQ
(http://telegraph.cs.berkeley.edu) which is a
continuous query system that is forked off the
PostgreSQL open source dbms.
Judy is quite attractive for us, except that we use
"MemoryContext" - ostgreSQL's region-based memory
allocator. This presents two problems, the interface
issues .. Judy only works with malloc and free, and the
MemoryContext (palloc/pfree) functions return
word-aligned addresses. We can hack our way out of the
second issue (allocate a little more than necessary),
but the former is a bit of a pain.
We have a patch for Judy that lets you plug in an
optional pair of allocator and free functions. Judy
defaults to using malloc and free.
Would this patch be useful ? Would it be possible to
add it to the next version of Judy ? We'd rather point
our users to the latest Judy library rather than have
them download our own version.
(Thanks for making Judy available too !)
sailesh AT cs DOT berkeley DOT edu
Log in to post a comment.