in reply to Re^4: Perl oddities in thread Perl oddities
You can only explain that with "Huffman" if the save space of 'tan' actually allows you to do something else. Besides, for your reasoning to really work, you'd have to sacrifice one of sin or cos. The analogue would really be having 'splice', 'push' and 'unshift', but not 'pop' or 'shift'. ;-)
Re^6: Perl oddities
by herveus (Prior) on Mar 02, 2005 at 15:09 UTC
|
Howdy!
To be more clear, the utility of push, et al. justifies their existence. I
claim (without specific evidence) that the trig functions are, in general,
used much less frequently, thus making their expansion a less productive
use of energy.
| [reply] |
|
| [reply] |
|