"Not comparable" on Freenode's #perl - Fortune [possible satire]

castoffmerlyn: is it true that array iteration is better performance wise than hash iteration?
* avarwould guess that array iter is faster than hash iter
merlynwhat is "hash iter"?
merlynwith "each()"?
castoffforeach key…
avaryeah, or keys
merlynI don't see those as comparable
merlynwhen you have a hash, and you need to iterate, you do.
merlynwhen you have an array, and you need to iterate, you do
merlynwhat is there to choose between?
castoffthe hash has no real value stored other than the key so i converted to arrays
avarmerlyn: you can compare the speed of the two operations
avarwell duh
merlynWhy would you compare the speed of unrelated events?
merlyn"let's time baking this bread compared to driving to seattle"
merlynit's pointless
idesmerlyn: heh, yes, but I think it would make a funny performance comparison article! :)
merlyn"always optimize for baking bread!"
* avareats merlyn
idesmerlyn: I was thinking more along the lines of "Performance comparison on Perl vs RoR vs Ice Fishing"
merlyn"I repeated baking bread 5000 times to get the average"
merlyn"It took me six years"
idesmerlyn: too bad there isn't a Benchmark module for my oven…
merlynOvenmark
Channel#perl
NetworkFreenode
TaglineNot comparable
Published2008-07-04