Skip to content

agnoster/enumtree

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Enumtree

Fast enumeration tree - represents an ordered sequence of elements with O(n) insert, remove, and position

Supports the following operations:

  • insert(id, pos) - insert element id at position pos
  • remove(pos) - remove element at position pos
  • pos(id) - return the position of element id

Status

Currently have part of a proof-of-concept in node.js, the "real" implementation will be in C.

TODO

  • Red-Black balancing
  • Delete
  • Implement in blazing-fast C

About

Data structure for representing lists with fast insert, remove, and lookup from element to index.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published