You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some extension functions defined on a Source (like readString or readCodePointValue) prefetch data into the source's buffer and then delegate further processing to buffer-specific functions. When invoked on a Buffer, these functions still do all these unnecessary prefetching actions. Instead, such calls should be delegated to a Buffer directly.
Potentially affected functions are:
Source.readCodePointValue()
Source.readString()
Source.readHexadecimalUnsignedLong()
Source.readDecimalLong()
Source.indexOf
The text was updated successfully, but these errors were encountered:
* Request Long.MAX_VALUE from the source at once (note: no need for a loop as we are unable to build the string of such size anyway)
* Get rid of redundant checks in commonReadUtf8
Ticks one of the boxes in #342
* Request Long.MAX_VALUE from the source at once (note: no need for a loop as we are unable to build the string of such size anyway)
* Get rid of redundant checks in commonReadUtf8
Ticks one of the boxes in #342
* Request Long.MAX_VALUE from the source at once (note: no need for a loop as we are unable to build the string of such size anyway)
* Get rid of redundant checks in commonReadUtf8
Ticks one of the boxes in #342
Some extension functions defined on a
Source
(likereadString
orreadCodePointValue
) prefetch data into the source's buffer and then delegate further processing to buffer-specific functions. When invoked on aBuffer
, these functions still do all these unnecessary prefetching actions. Instead, such calls should be delegated to a Buffer directly.Potentially affected functions are:
Source.readCodePointValue()
Source.readString()
Source.readHexadecimalUnsignedLong()
Source.readDecimalLong()
Source.indexOf
The text was updated successfully, but these errors were encountered: