Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
/ kora Public
forked from vosen/kora

Library of integer dictionary data structures in C#

Notifications You must be signed in to change notification settings

sqlBender/kora

Open more actions menu
 
 

Repository files navigation

Kora - library of integer dictionaries

This project contains implementations of various data structures in C# plus some benchmarking applications and tests.

Implementation

All structures in this library implement ordered dictionaries, that means System.Collections.Generic.IDictionary<int,T> and few additional functions: Higher(int x), Lower(int x), First(), Last(). Library contains following data structures:

  • van Emde Boas Tree
  • x-fast trie (with standard hashing or dynamic perfect hashing)
  • y-fast trie (with standard hashing or dynamic perfect hashing)

Some data structures required red-black tree. Implementation comes from Mono. Also it is used as a point of reference in benchmarking.

Performance

Performance results of all important functions. All benchmarks were run on structures of size from 100 000 elements to 1 000 000 elements containing randomly picked elements. In case of find 100 000, search operation was performed 100 000 times. Time is in milliseconds, memory usage is in megabytes.

Add

Graph for add

Remove

Graph for remove

Find

Graph for find

Higher

Graph for higher

Memory usage

Memory usage graph

About

Library of integer dictionary data structures in C#

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
Morty Proxy This is a proxified and sanitized view of the page, visit original site.