in reply to Better way to search an Array?

Yes, Tie::File can be slow, so try one of the options (about memory buffers) and see what happens

  • Comment on Re: Better way to search an Array? (Tie::File options)

Replies are listed 'Best First'.
Re^2: Better way to search an Array? (Tie::File options)
by Anonymous Monk on Jun 12, 2015 at 01:21 UTC
    Tie::File can be slow

    Care to back that statement up in regards to this question?

    Did you miss the qx(grep '^$pos' $index) being executed in every iteration of the loop?

      Tie::File can be slow

      Care to back that statement up in regards to this question?

      Did you miss the qx(grep '^$pos' $index) being executed in every iteration of the loop?

      If you're trying to help the OP, you should respond to Better way to search an Array?

        Attempting to clear up vague and potentially misleading statements is a form of helping. Also I note the question about Tie::File hasn't been answered.