Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

consistenttime crate #1

Open
burdges opened this issue Jan 15, 2017 · 1 comment
Open

consistenttime crate #1

burdges opened this issue Jan 15, 2017 · 1 comment

Comments

@burdges
Copy link

burdges commented Jan 15, 2017

Just fyi the consistenttime crate looks a bit more developed and saw at least some auditing valarauca/consistenttime#5 (comment)

@cesarb
Copy link
Owner

cesarb commented Jan 15, 2017

Thanks for the tip! That crate also uses the same #[inline(never)] trick I used, plus some other more advanced "confuse the optimizer" tricks, though it doesn't do the only really guaranteed way (inline "no-operation" assembly, or call to C function), which I don't do also here (I only did it so far for the clear_on_drop crate).

I'll see later if I submit the "slice trick" which I use here to that crate, for some extra speed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants