reuvenlax opened a new pull request, #41535:
URL: https://github.com/apache/beam/pull/41535

   - BitConverters: eliminate per-call byte[] allocations on big/little-endian 
encode/decode.
   - InstantCoder: encode/decode directly with primitive shifts and return 
canonical BoundedWindow.TIMESTAMP_MIN_VALUE / TIMESTAMP_MAX_VALUE singletons.
   - LengthPrefixCoder: delegate ByteArrayCoder and StringUtf8Coder directly to 
NESTED context and pool reusable byte buffers for other inner coders.
   - IntervalWindow: encode/decode window duration directly via VarInt without 
allocating Duration objects and avoid Duration allocation in maxTimestamp().
   - PaneInfo: return `this` in withElementMetadata when unchanged and avoid 
duplicate chooseEncoding() calls in PaneInfoCoder.encode().
   - Add unit tests in LengthPrefixCoderTest and JMH microbenchmarks in 
CoreCodersBenchmark.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

  • [PR] Optimize core Java coders... reuvenlax (via GitHub) via github

Reply via email to