in reply to How good is gzip data as digest?
can be written asif(defined($seen{$key})){ next; }else{ $seen{$key} = 1; next; }
Or the faster, more conciseif(!defined($seen{$key})){ $seen{$key} = 1; } next;
Or the more informative$seen{$key} = 1; next;
++$seen{$key}; next;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How good is gzip data as digest?
by codeacrobat (Chaplain) on Apr 02, 2009 at 19:16 UTC | |
by ikegami (Patriarch) on Apr 02, 2009 at 20:14 UTC | |
|
Re^2: How good is gzip data as digest?
by isync (Hermit) on Apr 02, 2009 at 17:52 UTC |