Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Duplicate
-
None
-
None
-
None
Description
It's possible to speed up the regular checking of isEOFRecord by creating a buffer that is all zeros then using the Java primitive Arrays.equals function. My bench-marking puts it at roughly 1/3 the time per check. No unit tests were harmed in the production of these modifications.
Attachments
Attachments
Issue Links
- duplicates
-
COMPRESS-234 Patch: TAR InputStream Huge Speed Improvements
- Resolved
- is related to
-
COMPRESS-234 Patch: TAR InputStream Huge Speed Improvements
- Resolved