Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Specify number of entries parameter as (usize) integer (#51)
While reviewing the code I was a confused by the name num_entries which suggest an integer while actually a fractional number is used. Changing this to usize makes the function call 7 machine code instructions shorter and the function body longer 5 instructions longer (from 65 to 70, as checked by the compiler explorer https://godbolt.org/ ). So with improved code readability also 2 instructions less are needed.
- Loading branch information