* Сергей Цыпанов:

> Hi,
>
>> Isn't this InputStream::readAllBytes?
>
> thanks for pointing this out! Indeed, InputStream::readAllBytes() allows to 
> save even more memory:
>
>                                       Mode  Cnt       Score     Error   Units
> read                                  avgt   50     227.054 ±   1.354   us/op
> read:·gc.alloc.rate.norm              avgt   50  138605.638 ±  20.778    B/op
> readNoVerify                          avgt   50     226.606 ±   1.748   us/op
> readNoVerify:·gc.alloc.rate.norm      avgt   50  137810.392 ±   7.020    B/op
>
> Would you sponsor the changes?

Sorry, I don't have that kind of role on the OpenJDK project.

Florian

Reply via email to