fury icon indicating copy to clipboard operation
fury copied to clipboard

[Java] Optimize the copy performance of some thread-safe classes

Open zhaommmmomo opened this issue 1 year ago • 1 comments

Is your feature request related to a problem? Please describe.

Some thread-safe classes use a generic copyElements() method, for example: CopyOnWriteArrayList... when adding elements, locking operations are performed, which is very time-consuming.

Describe the solution you'd like

Optimize the performance of these copy classes

Additional context

image image

zhaommmmomo avatar Jul 29 '24 06:07 zhaommmmomo

I will deal with it. If there is anything to add, please let me know. @chaokunyang

zhaommmmomo avatar Jul 30 '24 03:07 zhaommmmomo