List Info

Thread: Tie::File w/ in-memory file support




Tie::File w/ in-memory file support
user name
2006-12-24 23:33:07
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.
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )