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

use bulk ByteBuffer.put() method in getWritableDataPointer() #144

Closed
dwrensha opened this issue Oct 22, 2024 · 1 comment
Closed

use bulk ByteBuffer.put() method in getWritableDataPointer() #144

dwrensha opened this issue Oct 22, 2024 · 1 comment

Comments

@dwrensha
Copy link
Member

Similar to #143, we should update these other places:

// TODO is there a way to do this with bulk methods?
for (int i = 0; i < builder.size; ++i) {
builder.buffer.put(builder.offset + i, defaultBuffer.get(defaultOffset * 8 + i));
}

// TODO is there a way to do this with bulk methods?
for (int i = 0; i < builder.size; ++i) {
builder.buffer.put(builder.offset + i, defaultBuffer.get(defaultOffset * 8 + i));
}

@dwrensha
Copy link
Member Author

done in b2f7242

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

1 participant