💾 Archived View for gmi.noulin.net › gitRepositories › hashlist › file › README.md.gmi captured on 2023-01-29 at 10:52:55. Gemini links have been rewritten to link to archived content

View Raw

More Information

-=-=-=-=-=-=-

hashlist

Log

Files

Refs

README

LICENSE

README.md (750B)

     1 # Sheepy
     2 This is a sheepy package for [sheepy](https://spartatek.se/r/sheepy/file/README.md.html) and using [libsheepy](https://spartatek.se/r/libsheepy/file/README.md.html)
     3 
     4 # Random access double linked lists
     5 
     6 Hashlist holds double linked lists in a hashtable, each node in the list has a key, any node in the list is accessed using a key.
     7 Node are accessed in O(1) as in hashtables.
     8 
     9 The data can be stored in the list nodes to reduce the frequency of memory allocations.
    10 
    11 
    12 # Usage
    13 
    14 Install with spm: `spm install hashlist`
    15 
    16 Include header file:
    17 - `#include "shpPackages/hashlist/hashlist.h"`
    18 
    19 Usage examples are on the top of the headers and in `main.c`.
    20 
    21 Before running `main.c` install the hashfunctions with:
    22 ```
    23 spm install hashfunctions
    24 ```