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

Microbenchmarks for ludicrous mode #65

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

hoxxep
Copy link
Sponsor

@hoxxep hoxxep commented Oct 23, 2023

Hey,

I believe ludicrous mode to be a bit superfluous, as bounds checking appears to get optimised out by the compiler for u8 with 256 len arrays, judging by these microbenchmarks.

I'd like to reduce unsafe code used by mail-server, and believe this would be a quick win? If you agree, I'm happy to make a followup MR removing ludicrous mode?

Cheers,
Liam

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

Successfully merging this pull request may close these issues.

None yet

1 participant