Michael Schwern:
> That's O(n**2) time and that sucks.
That's a bug; I should be able to fix it. There's no reason
why it
should be quadratic instead of linear. Thanks for bringing
it to my
attention.
> Adding in-memory access to Tie::File just because it
can be made
> efficient for numbers doesn't make sense.
I don't think it can anyway.
> Normally TMTOWTDI is good,
As I pointed out, there's already one way to do this with
Tie::File,
all Dan's patch seems to do is to add another syntax for
something
that nobody needs to do anyway.
> Its a nice, focused, single-purpose module.
Yes. The goal of Tie::File is convenient manipulation of
pre-existing
flat text files.
|