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

improve rust performance #944

Merged
merged 4 commits into from Jul 19, 2023

Conversation

jordy25519
Copy link
Contributor

improve rust performance (also more idiomatic)

  • specialize get_u8_at & put_u8_at
  • use copy_from_slice instead of split_at when r/w u8 arrays
Screenshot 2023-06-10 at 16 53 45

@jordy25519
Copy link
Contributor Author

fixed the checkStyle failures

@mjpt777
Copy link
Contributor

mjpt777 commented Jul 19, 2023

Does anyone have a view on this? @mward ?

@mward
Copy link
Contributor

mward commented Jul 19, 2023

@mjpt777 this looks great, thanks @jordy25519

@mjpt777 mjpt777 merged commit 09499a0 into real-logic:master Jul 19, 2023
33 checks passed
@jordy25519 jordy25519 deleted the fix/idiomatic-u8-handling branch July 19, 2023 20:43
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

3 participants