java icon indicating copy to clipboard operation
java copied to clipboard

Optimizing SequentialIntegerIdGeneratorStrategy

Open klu2 opened this issue 1 year ago • 0 comments

Doesn't really fix a bug (therefore no ticket, the previous code worked correctly as well), just syntactic sugar and slight performance increasements by not synchronizing the whole object, rather use AtomicInteger for concurrent integer increase and Integer.toString() for string conversion.

klu2 avatar Aug 10 '24 09:08 klu2