http://qs321.pair.com?node_id=1078616


in reply to Re^4: Given When Syntax
in thread Given When Syntax

I'll post benchmarks after GPW.

Sorry but ATM you are mangling different things and effectively comparing apples with plastic food.

BTW as it seems you are also "proving" that gotos to labels with code execution are faster then simple hash look ups. (which would support using goto)

update

I'm not sure but I somehow remember benchmarks indicating that goto was not very efficiently implemented.

By having a linear complexity, it could be in small cases faster than the constant overhead of hash lookups.

Cheers Rolf

( addicted to the Perl Programming Language)