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”?
2008/12/18 Hunt J. [email protected]:
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
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
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs