diff options
author | Jack Lloyd <[email protected]> | 2018-12-22 08:31:04 -0500 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2018-12-22 08:31:04 -0500 |
commit | 108ccfa35f5d24e41c586c5b1184934f6f538d52 (patch) | |
tree | 3d48821506144c9a85f28d7176bf37554db8e575 /src/lib/utils/filesystem.cpp | |
parent | 7c92530d47f9c7475f76e3d547480cb62c82a148 (diff) |
Make ctz and high_bit faster and const-time-ish
They get compiled as const-time on x86-64 with GCC but I don't think
this can be totally relied on. But it is anyway an improvement.
And, faster, because we compute it recursively
Diffstat (limited to 'src/lib/utils/filesystem.cpp')
0 files changed, 0 insertions, 0 deletions