Skip to content

wrandelshofer/FastBinarySearchInJava

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FastBinarySearchInJava

This is a straight-forward C++ to Java port of Fabio Cannizzo's FastBinarySearch.

https://github.com/fabiocannizzo/FastBinarySearch

Fabio Cannizzo. (2017). "A Fast and Vectorizable Alternative to Binary Search in O(1) with Wide Applicability to Arrays of Floating Point Numbers". arxiv

I have currently only ported the "ClassicOffset" algorithm in class OffseBinarySearch. The algorithm is about 2 to 3 times faster than java.util.Arrays.binarySearch().

About

FastBinarySearch in Java

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages