JDK 19 |
---|
19 b22Fixed |
Relates :
|
ADDITIONAL SYSTEM INFORMATION : OS: Ubuntu Focal Arch x86_64 Tested againt main branch and 17.0.3 (openjdk builds from ubuntu) A DESCRIPTION OF THE PROBLEM : During transitioning from longs to Instant I realized that tight loops over Instants take a lot of time adding seconds to some start Instant. The method Instant.plusSeconds delegates to a generic Instant.plus, that has to deal with the nanosecond adjustments. Specializing Instant.plusSeconds can give a significant speedup.
|