On Sat, 19 Nov 2022 21:36:56 GMT, Markus KARG <d...@openjdk.org> wrote:

> There is no need to use a temporary Vector within the constructor of 
> SynchronizedInputStream, as more efficient (non-synchronized) alternative 
> code (like List.of) will do the same in possibly less time. While the 
> optimization is not dramatic, it still makes sense to replace Vector unless 
> synchronization is really needed.

This pull request has now been integrated.

Changeset: 06968548
Author:    Markus Karg <mar...@headcrashing.eu>
Committer: Jaikiran Pai <j...@openjdk.org>
URL:       
https://git.openjdk.org/jdk/commit/069685489afcea9b31491f0d9fec8cc52e210e99
Stats:     11 lines in 1 file changed: 2 ins; 5 del; 4 mod

8297299: SequenceInputStream should not use Vector

Reviewed-by: alanb, jpai

-------------

PR: https://git.openjdk.org/jdk/pull/11249

Reply via email to