reuvenlax opened a new pull request, #41537: URL: https://github.com/apache/beam/pull/41537
…teSizeObserver - ElementByteSizeObserver: add primitive update(long) overload to avoid Long boxing. - ElementByteSizeObservableIterator: replace java.util.Observable's synchronized Vector with an unsynchronized single-observer fast path (plus lazy ArrayList overflow) and dispatch directly to ElementByteSizeObserver.update(long). - ElementByteSizeObservableIterable: lazily allocate observer list. - IterableLikeCoder: avoid per-element Long boxing when observing element sizes. - Add ElementByteSizeObservableIteratorTest and ElementByteSizeObservableBenchmark. -- 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]
