Re: Proposal for new public class: java.io.CharSequenceReader

2024-09-30 Thread Alan Bateman
On 28/09/2024 17:15, Markus Karg wrote: : Alternatives: - Applications could use Apache Commons IO's CharSequenceReader. As it is an open-source third-party dependency, some authors might not be allowed to use it, or may not want to carry this additional burden just for the sake of this sing

Re: Proposal for new public class: java.io.CharSequenceReader

2024-09-29 Thread Rob Spoor
On 28/09/2024 18:15, Markus Karg wrote: - Applications could use Apache Commons IO's CharSequenceReader. As it is an open-source third-party dependency, some authors might not be allowed to use it, or may not want to carry this additional burden just for the sake of this single performance improv

Re: Proposal for new public class: java.io.CharSequenceReader

2024-09-28 Thread Bernd Eckenfels
Markus Karg schrieb am 28.09.2024 18:15 (GMT +02:00): > Dear Sirs, > for performance reasons, hereby I like to propose the new public class > java.io.CharSequenceReader > I like the idea and missed it in the past. while we are at it, also support a char[] constructor (since this char[] does n

Proposal for new public class: java.io.CharSequenceReader

2024-09-28 Thread Markus Karg
Dear Sirs, for performance reasons, hereby I like to propose the new public class java.io.CharSequenceReader. Before sharing a pull request, I'd kindly like to request for comments. Since Java 1.1 we have the StringReader class. Since Java 1.4 we have the CharSequence class. StringBuilder,