The problem is that this gets really slow when there is a large inputfile, taking up to 45 min to search for 1,000,000 lines.I'd suspect Tie::File being the bottleneck; try to work out a solution without it.
--shmem
_($_=" "x(1<<5)."?\n".q·/)Oo. G°\ /
/\_¯/(q /
---------------------------- \__(m.====·.(_("always off the crowd"))."·
");sub _{s./.($e="'Itrs `mnsgdq Gdbj O`qkdq")=~y/"-y/#-z/;$e.e && print}
In reply to Re: Searching a distributed filesystem
by shmem
in thread Searching a distributed filesystem
by LostShootingStar
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |