libJudy Summary

Last update: December 23, 2019 -- By Alan Silverstein, ajs@frii.com

Brief Overview of Features

Types of keys/values:

Functions Macros Key/Index Value
Judy1*() J1*() word (32/64-bit) bit (true/false)
JudyL*() JL*() word (32/64-bit) word (32/64-bit)
JudySL*() JSL*() C string word (32/64-bit)
JudyNL*() JNL*() word(s) + length word (32/64-bit)

Types of operations:

  Judy1 JudyL JudySL JudyNL
Generic Specific Function Macro Function Macro Function Macro Function Macro
add set/insert Judy1Set() J1S() JudyLIns() JLI() JudySLIns() JSLI() JudyNLIns() JNLI()
delete unset/delete Judy1Unset() J1U() JudyLDel() JLD() JudySLDel() JSLD() JudyNLDel() JNLD()
lookup test/get Judy1Test J1T() JudyLGet JLG() JudySLGet JSLG() JudyNLGet JNLG()
count   Judy1Count() J1C() JudyLCount() JLC()        
by-count   Judy1ByCount() J1BC() JudyLByCount() JLBC()        
free-array   Judy1FreeArray() J1FA() JudyLFreeArray() JLFA() JudySLFreeArray() JSLFA() JudyNLFreeArray() JNLFA()
mem-used   Judy1MemUsed() J1MU() JudyLMemUsed() JLMU()        
first (inclusive) Judy1First() J1F() JudyLFirst() JLF() JudySLFirst() JSLF() JudyNLFirst() JNLF()
next (exclusive) Judy1Next() J1N() JudyLNext() JLN() JudySLNext() JSLN() JudyNLNext() JNLN()
last (inclusive) Judy1Last() J1L() JudyLLast() JLL() JudySLLast() JSLL() JudyNLLast() JNLL()
prev (exclusive) Judy1Prev() J1P() JudyLPrev() JLP() JudySLPrev() JSLP() JudySLPrev() JNLP()
first empty (inclusive) Judy1FirstEmpty() J1FE() JudyLFirstEmpty() JLFE()        
next empty (exclusive) Judy1NextEmpty() J1NE() JudyLNextEmpty() JLNE()        
last empty (inclusive) Judy1LastEmpty() J1LE() JudyLLastEmpty() JLLE()        
prev empty (exclusive) Judy1PrevEmpty() J1PE() JudyLPrevEmpty() JLPE()        


Key Points for Coders