Skip to content

A multithreaded list search that is clean and performant. Written in Steelbank Common Lisp.

License

Notifications You must be signed in to change notification settings

Fhoughton/index-search

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Index-search

A multithreaded list search that provides power and speed.

Functions

(get-file filename) - Returns the lines of the file as a list

(search-for-words-simple lines wordlist) - Searches for every search term in wordlist through a whole list.

(starts-with string prefix) - Returns true if a string starts with a certain prefix.

(dosort list substr) - Sorts a list so items with a certain substring at the start appear first.

(search-index lines wordlist) - Searches a list for items in the wordlist and orders it so items that start with a search term appear first, with those that start with the earliest term and a dot appearing first.

(handle-search search) - Converts a string of user input into a list that can be processed by search-for-words-simple and search-index.

About

A multithreaded list search that is clean and performant. Written in Steelbank Common Lisp.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published