in reply to RE: List processing (benchmark results)
in thread List processing performance

that is disappointing... the overhead of map creating the temporary array must be too great. hmmm.... now i'm trying to think of a way to pre-allocate so i can skew the benchmark results more in my favor..
  • Comment on RE: RE: List processing (benchmark results)

Replies are listed 'Best First'.
RE:(3) List processing (benchmark results)
by Russ (Deacon) on Jul 12, 2000 at 06:27 UTC
    I hope you can. I'd love to see the one-liner win out! :-)

    Russ
    Brainbench 'Most Valuable Professional' for Perl

      All of the code posted in the golf thread are one-liners. Here's mine, again:
      my @words = sort grep !$seen{$_=lc}++, @words;