Stdin.readLineSync performance is very bad for large lines #45255
Labels
area-vm
Use area-vm for VM related issues, including code coverage, FFI, and the AOT and JIT backends.
library-io
type-performance
Issue relates to performance or code size
It reads input bytes one by one from the input and puts them into a growable list of
<int>[]
.This might lead to some very poor performance (compared to other languages) when reading exceedingly long lines from stdin.
The text was updated successfully, but these errors were encountered: