On Fri, 19 Feb 2021 07:34:57 GMT, Alan Bateman wrote:
>> I think that's what @AlanBateman intended. The `skip()` changes would revert
>> also (I think) but the C-style array changes can stay. Thanks.
>
> Yes, let's bring it back to just eliminating the intermediate array when the
> buffer has
On Tue, 16 Feb 2021 23:52:09 GMT, Brian Burkhalter wrote:
>> Philippe Marschall has updated the pull request incrementally with two
>> additional commits since the last revision:
>>
>> - Replace c-style array declarations
>> - Share work buffer between #skip and #read
>
>
On Tue, 16 Feb 2021 23:50:30 GMT, Brian Burkhalter wrote:
>> Philippe Marschall has updated the pull request incrementally with two
>> additional commits since the last revision:
>>
>> - Replace c-style array declarations
>> - Share work buffer between #skip and #read
>
>
On Thu, 18 Feb 2021 20:35:10 GMT, Brian Burkhalter wrote:
>> src/java.base/share/classes/java/io/Reader.java line 221:
>>
>>> 219: // if the last call to read returned -1 or the
>>> number of bytes
>>> 220: // requested have been read then break
>>> 221:
On Wed, 17 Feb 2021 15:37:11 GMT, Alan Bateman wrote:
>> Philippe Marschall has updated the pull request incrementally with two
>> additional commits since the last revision:
>>
>> - Replace c-style array declarations
>> - Share work buffer between #skip and #read
>
>
On Wed, 17 Feb 2021 15:37:11 GMT, Alan Bateman wrote:
>> Philippe Marschall has updated the pull request incrementally with two
>> additional commits since the last revision:
>>
>> - Replace c-style array declarations
>> - Share work buffer between #skip and #read
>
>
On Fri, 12 Feb 2021 09:18:10 GMT, Philippe Marschall
wrote:
>> Implement three optimiztations for Reader.read(CharBuffer)
>>
>> * Add a code path for heap buffers in Reader#read to use the backing array
>> instead of allocating a new one.
>> * Change the code path for direct buffers in
On Fri, 12 Feb 2021 09:18:10 GMT, Philippe Marschall
wrote:
>> Implement three optimiztations for Reader.read(CharBuffer)
>>
>> * Add a code path for heap buffers in Reader#read to use the backing array
>> instead of allocating a new one.
>> * Change the code path for direct buffers in
> Implement three optimiztations for Reader.read(CharBuffer)
>
> * Add a code path for heap buffers in Reader#read to use the backing array
> instead of allocating a new one.
> * Change the code path for direct buffers in Reader#read to limit the
> intermediate allocation to