• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Liutauras Vilda
  • Henry Wong
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
Bartenders:
  • Piet Souris
  • Mikalai Zaikin
  • Himai Minh

String.format() is a lot faster in Java 17

 
Marshal
Posts: 27287
87
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I just saw this post on Heinz Kabutz's blog -- perfomance issues are one of the things he often writes about.

https://www.javaspecialists.eu/archive/Issue294-String.format-3x-faster-in-Java-17.html

Most people won't want to upgrade to Java 17 to take advantage of this improvement, but it's interesting to see what the Java crew is doing in the background to improve the language. It made me wonder what else they have been up to which wasn't mentioned in the release documentation!
 
Marshal
Posts: 76102
362
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
They also upgraded...and similar. That was back in Java9. They are obviously tinkering and improving things quietly all the time.
 
reply
    Bookmark Topic Watch Topic
  • New Topic