[Moscow.pm] Альтернативы File::Slurp
Nick Knutov
mail на knutov.com
Чт Фев 26 09:29:51 PST 2015
Добавил в сравнение https://gist.github.com/knutov/8c9077790f925f1e336f
Внезапно, и не могу понять почему, с utf8 Path::Tiny быстрее, хотя с
latin1 наоборот, и в 4 раза медленнее.
26.02.2015 21:14, Maxim Vuets пишет:
> 2015-02-26 16:44 GMT+01:00 Nick Knutov <mail на knutov.com>:
>> Какие еще есть хорошие варианты быстро прочитать текстовые файлы
>> (которые могут быть с ютф или без) ?
>
> https://metacpan.org/pod/File::Slurper
>
> "This module tries to make it as easy as possible to read and write
> files correctly and fast. The most correct way of doing this is not
> always obvious (e.g. #83126
> [https://rt.cpan.org/Public/Bug/Display.html?id=83126]), and just as
> often the most obvious correct way is not the fastest correct way.
> This module hides away all such complications behind an easy intuitive
> interface."
>
--
Best Regards,
Nick Knutov
http://knutov.com
ICQ: 272873706
Voice: +7-904-84-23-130
Подробная информация о списке рассылки Moscow-pm