Re: RFR: 8335366: Improve String.format performance with fastpath [v3]

2024-06-29 Thread David Schlosnagle
On Sat, 29 Jun 2024 16:16:51 GMT, David Schlosnagle wrote: >> Shaojin Wen has updated the pull request incrementally with one additional >> commit since the last revision: >> >> rename `digit` to `width` > > src/java.base/share/classes/java/lang/StringFormat.java line 82: > >> 80:

Re: RFR: 8335366: Improve String.format performance with fastpath [v3]

2024-06-29 Thread Shaojin Wen
> We need a String format solution with good performance. String Template was > once expected, but it has been removed. j.u.Formatter is powerful, but its > performance is not good enough. > > This PR implements a subset of j.u.Formatter capabilities. The performance is > good enough that it is