GitHub - BenJoyenConseil/rmi: Recursive Model Index, a learned index structure
RMI usage Create an index and make lookups // load the age column and parse values into float64 values ageColumn := extractAgeColumn("data/people.csv") // create an index over the age column index := index.New(ageColumn) // search an age and get back its line position inside the file people.csv search, _ := strconv.ParseFloat(os.Args[1], 64) lines, _ := index.Lookup(search) the data/people.csv age column. It outputs : $ cat data/people.csv name,age,sex jeanne,90,F jean,23,M Carlos,3,M Carlotta...
Source: github.com