Skip to content

ezreal1997/art

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Adaptive Radix Tree

The Adaptive Radix Tree: ARTful Indexing for Main-Memory Databases

Usage

package main

import (
  "fmt"
	
  "github.com/rayzui/art"
)

func main() {
    tree := art.New()

    tree.Insert([]byte("key"), "value")
    value := tree.Search([]byte("key"))
    fmt.Println(value)

    tree.Each(func(n Node) {
    	fmt.Println(n.Key(), n.Value())
    })
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages