Skip to content

Build a suffix array of a given string in O(N) using the Skew / DC3 algorithm. Efficient implementation with numpy and numba

License

Notifications You must be signed in to change notification settings

ZamboniMarco99/fast-suffix-array

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Fast suffix array

This repository implements in python a way to build the suffix array of a string in O(1) time thanks to the Skew/DC3 algorithm.

On top of it this is a fast implementation that thanks to numpy and numba can run several times faster than the pure python one.

References

Paper describing the algorithm

Thanks to professor Mailund of Aarhus University for his blog post where they give the implementation that I used for reference

About

Build a suffix array of a given string in O(N) using the Skew / DC3 algorithm. Efficient implementation with numpy and numba

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages