radixtree

adaptive radix tree (a.k.a prefix tree or compact trie)

MIT License

Stars
25
radixtree - v0.3.2 Latest Release

Published by gammazero 8 months ago

What's Changed

Full Changelog: https://github.com/gammazero/radixtree/compare/v0.3.1...v0.3.2

radixtree - v0.3.1

Published by gammazero over 1 year ago

What's Changed

  • New DeletePrefix function

Full Changelog: https://github.com/gammazero/radixtree/compare/v0.3.0...v0.3.1

radixtree - v0.3.0

Published by gammazero about 2 years ago

What's Changed

  • Removed type Paths
  • Remove interface Iterator
  • Rename type bytesTreeIter to Iterator
  • Rename type BytesIterator to Stepper
  • Renamed, deprecated old names:
  • Rename type Byte to Tree, deprecated Byte exists as type alias.

Full Changelog: https://github.com/gammazero/radixtree/compare/v0.2.5...v0.3.0

radixtree - v0.2.5

Published by gammazero about 3 years ago

Iterator object that iterates all values and keys in tree

radixtree - v0.2.4

Published by gammazero about 3 years ago

Avoid double allocation in compress

radixtree - v0.2.3

Published by gammazero over 3 years ago

Performance increase when searching tree

radixtree - v0.2.2

Published by gammazero over 3 years ago

  • Delete should not compress root
  • InspectFn provides hasVal bool to differentiate between nil and no value
radixtree - v0.2.1

Published by gammazero over 3 years ago

Track tree size and report using Len()

radixtree - v0.2.0

Published by gammazero over 3 years ago

Rework to provide a number of improvement

  • Add bytes-based radix tree
  • Iteration done in lexical order
  • Zero allocation for all read operations, including walk
  • Remove mostly useless ability to skip during iteration
  • Get returns boolean to indicate the presence of value (can differentiate between no value and nil value)
  • No more stringer for walk function, provides a string.
  • Speed improvements
  • Remove Runes tree since Bytes makes it unneeded

NOTE: This release contains breaking changes