SkillAgentSearch skills...

Judy

Erlang NIF interface to Judy arrays

Install / Use

/learn @knutin/Judy
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

Judy - playground for learning C and NIFs

This project provides a NIF wrapper around Judy arrays and a chunk of memory, allowing memory efficient storage and fast retrieval of values. The library allocates and manages a large enough chunk of memory to store the values, using the Judy array for finding the proper offset into this chunk. Deletion is currently not supported.

See eunit tests in src/judy.erl for examples.

Usage:


    {ok, J} = judy:new(100, 2).
    ok = judy:insert(J, <<"some key">>, <<123, 123>>).
    <<123, 123>> = judy:get(J, <<"some key">>).

Related Skills

View on GitHub
GitHub Stars16
CategoryDevelopment
Updated4y ago
Forks6

Languages

C

Security Score

60/100

Audited on Dec 24, 2021

No findings