[erlang-questions] Erlang read file benchmark

Bob Ippolito bob@REDACTED
Sun Jul 10 08:29:56 CEST 2011

On Sat, Jul 9, 2011 at 11:01 PM, Martin Dimitrov <mrtndimitrov@REDACTED> wrote:
>> If you read the source code you'll see that file:read_file/1 calls
>> into io:request/2 which eventually (in another process) ends up in
>> file_io_server:io_request/2 and ends up reading either 128 bytes or
>> 8kb at a time, doing some unicode junk, and ends up calling
>> io_lib:collect_line/4 to collect each line chunk at a time.
>  Isn't Perl interpreter going over the same or similar steps?

No, it's not.


More information about the erlang-questions mailing list