Faster MessageIdSupplier with less object allocation, error-prone
magicprinc opened this issue · 1 comments
magicprinc commented
-
MessageIdSupplier Supplier → LongSupplier: less object allocation (temporary Longs)
-
System.nanoTime is quite slow → AtomicLong with random starting value
-
error-prone (google static code analyzer / linter)
-
error-prone has found some minor problems: fixed
https://github.com/magicprinc/logback-gelf/commits/feature/messageIdSupplier
I would send it as PR later