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

Buffer.equals - implement a more efficient version #2

Open
aboutsip opened this issue Jul 21, 2012 · 0 comments
Open

Buffer.equals - implement a more efficient version #2

aboutsip opened this issue Jul 21, 2012 · 0 comments

Comments

@aboutsip
Copy link
Owner

Currently, the Buffer.equals will copy the underlying byte buffer and perform a Arrays.equal on them, which is simple enough but may not be very efficient if done frequently. Monitor this and if proven to be too slow/resource intense then just implement an Arrays.equals ourselves.

jan-zajic pushed a commit to jan-zajic/pkts that referenced this issue Apr 28, 2024
Rewrite packet record header timestamps to little endian
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant