in reply to Re^2: Loading a part of the file to array using Tie::File
in thread Loading a part of the file to array using Tie::File

Benchmarks don't lie about Tie::File
  • Comment on Re^3: Loading a part of the file to array using Tie::File

Replies are listed 'Best First'.
Re^4: Loading a part of the file to array using Tie::File
by karlgoethebier (Abbot) on Nov 23, 2017 at 11:56 UTC

    But as far as i remember the interpretation of the result of Benchmark is problematic. And it doesn't tell us anything about memory usage. What the basic theme was IMHO. Best regards, Karl

    P.S.: Yes, i know Devel::NYTProf

    «The Crux of the Biscuit is the Apostrophe»

    perl -MCrypt::CBC -E 'say Crypt::CBC->new(-key=>'kgb',-cipher=>"Blowfish")->decrypt_hex($ENV{KARL});'Help

      hehe, why you didnt follow the links and read?
        "hehe..."

        Thank you very much for advice Dr Wisenheimer.

        BTW, the full story: Some years ago, when i started using Perl i had some success with Tie::File from time to time. It worked as designed - and absolutely reliable. I didn't care much about performance. And i thought: Wow! How cool is this concept. Then i didn't use it for many years.

        Now some esteemed fellow monks point me to the pros and cons...

        See also ;-)

        Best regards, Karl

        «The Crux of the Biscuit is the Apostrophe»

        perl -MCrypt::CBC -E 'say Crypt::CBC->new(-key=>'kgb',-cipher=>"Blowfish")->decrypt_hex($ENV{KARL});'Help