Re: RFR: 8315999: Improve Date toString performance [v7]

2023-09-12 Thread 温绍锦
On Tue, 12 Sep 2023 13:54:34 GMT, Roger Riggs wrote: > You haven't make the case for these changes, please describe the use cases > when performance is a significant constraint on application performance. The > changes largely just add more code to maintain without otherwise adding > sufficien

Re: RFR: 8315999: Improve Date toString performance [v7]

2023-09-12 Thread Roger Riggs
On Tue, 12 Sep 2023 13:05:19 GMT, 温绍锦 wrote: >> improve date toString performance, includes: >> >> java.util.Date.toString >> java.util.Date.toGMTString >> java.time.Instant.toString >> java.time.LocalDate.toString >> java.time.LocalDateTime.toString >> java.time.LocalTime.toString > > 温绍锦 has u

Re: RFR: 8315999: Improve Date toString performance [v7]

2023-09-12 Thread 温绍锦
On Mon, 11 Sep 2023 14:59:25 GMT, 温绍锦 wrote: >> The performance of optimizing DateTimeFormatter cannot be as fast as using >> ixed-length buffer directly. > > Of course, the optimization of DateTimeFormatter is more general, and we can > spend time doing it later. The format of toString is fixe

Re: RFR: 8315999: Improve Date toString performance [v7]

2023-09-12 Thread 温绍锦
> improve date toString performance, includes: > > java.util.Date.toString > java.util.Date.toGMTString > java.time.Instant.toString > java.time.LocalDate.toString > java.time.LocalDateTime.toString > java.time.LocalTime.toString 温绍锦 has updated the pull request incrementally with two additional