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

   
   - SimpleParDoFn / SimpleParDoFnHelpers: cache hasState(), cache main and 
last-used output receivers to avoid HashMap lookups per element, and skip empty 
windowsProcessed list allocation on stateless DoFns.
   - DataflowOutputCounter: fast-path SingleWindowedValue without calling 
getWindows().size().
   - Counter: avoid redundant volatile writes in setDirty() when already DIRTY.
   - OutputReceiver: iterate pre-built Receiver[] / ElementCounter[] arrays 
with 1-element fast paths to avoid iterator allocation on every emitted element.
   


-- 
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]

Reply via email to