Skip to content

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 jordy25519 force-pushed the fix/idiomatic-u8-handling branch from 5593920 to 14f6b62 Compare June 10, 2023 05:03
@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 aeron-io:master Jul 19, 2023
@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

3 participants