Re: RFR: 8292937: Improve performance of some read operations of RandomAccessFile [v5]

2022-09-27 Thread Сергей Цыпанов
On Fri, 26 Aug 2022 20:59:57 GMT, Сергей Цыпанов wrote: >> Currently some operations of RandomAccessFile are implemented with multiple >> read() invocations: >> >> public final int readInt() throws IOException { >> int ch1 = this.read(); >> int ch2 = this.read(); >> int ch3 = this.r

Re: RFR: 8292937: Improve performance of some read operations of RandomAccessFile [v5]

2022-08-29 Thread Сергей Цыпанов
On Sat, 27 Aug 2022 06:52:19 GMT, Alan Bateman wrote: >> Сергей Цыпанов has updated the pull request incrementally with two >> additional commits since the last revision: >> >> - 8292937: Fix error C2057 >> - 8292937: Remove unused method > > src/java.base/share/native/libjava/io_util.c line

Re: RFR: 8292937: Improve performance of some read operations of RandomAccessFile [v5]

2022-08-26 Thread Alan Bateman
On Fri, 26 Aug 2022 20:59:57 GMT, Сергей Цыпанов wrote: >> Currently some operations of RandomAccessFile are implemented with multiple >> read() invocations: >> >> public final int readInt() throws IOException { >> int ch1 = this.read(); >> int ch2 = this.read(); >> int ch3 = this.r

Re: RFR: 8292937: Improve performance of some read operations of RandomAccessFile [v5]

2022-08-26 Thread Сергей Цыпанов
> Currently some operations of RandomAccessFile are implemented with multiple > read() invocations: > > public final int readInt() throws IOException { > int ch1 = this.read(); > int ch2 = this.read(); > int ch3 = this.read(); > int ch4 = this.read(); > if ((ch1 | ch2 | ch3 |