Skip to content

amwales-888/htable

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

htable

Simple C file that implements hashtable. Functions included

void hashInsert(void* userItem, struct htable_s* htable);
struct hitem_s* hashFind(void* userItem, struct htable_s* htable);
void hashDelete(struct htable_s* htable, struct hitem_s* hitem);
void hashCopy(struct htable_s* htable, struct htable_s* newTable);
  • Example1 - A simple user implementation that uses minimal memory but recomputes the hash.
  • Example2 - Extends example1 by caching the hash value but requires and additional uint32_t to be saved in the user structure.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages