On Feb 20, 2005, at 5:23 PM, Caio Tiago Oliveira wrote:
> Bad example:
>
> while ( line = gets.chomp )
>   # work with line
> end

unless ruby cow's the string and
the copy just has a truncating length,
then this requires copying of the line.

Alex