I looked at RDoc documentation.
It says "each_pair" method is marginally more efficient.
Do we need to abandon "each"? Do you use "each" or stick to "each_pair"?
I looked at RDoc documentation.
It says "each_pair" method is marginally more efficient.
Do we need to abandon "each"? Do you use "each" or stick to "each_pair"?
I do not care.
Kind regards
robert
2008/12/18 Hunt Jon <jona.hunt777@gmail.com>:
I looked at RDoc documentation.
It says "each_pair" method is marginally more efficient.
Do we need to abandon "each"? Do you use "each" or stick to "each_pair"?
--
remember.guy do |as, often| as.you_can - without end
* Hunt Jon <jona.hunt777@gmail.com> (2008-12-18) schrieb:
I looked at RDoc documentation.
It says "each_pair" method is marginally more efficient.
Do we need to abandon "each"? Do you use "each" or stick to "each_pair"?
»each_pair« is the better name for what it's doing and »each« is a standard
name used by »for« and »Enumeration«.
mfg, simon .... l