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

Remove ByteArrayOutputStream to make it 2x faster #1

Merged
merged 1 commit into from Jan 22, 2022
Merged

Remove ByteArrayOutputStream to make it 2x faster #1

merged 1 commit into from Jan 22, 2022

Conversation

pkuliyi2015
Copy link
Contributor

The byte array has a max size which can be compute when pre-processing, thus we don't need ByteArrayOutputStream and Enlarge, which brought extra time consumption.

The byte array has a max size which can be compute when pre-processing, thus we don't need ByteArrayOutputStream and Enlarge, which brought extra time consumption.
@Bkm016 Bkm016 merged commit 2d38ea4 into TabooLib:master Jan 22, 2022
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

2 participants