Yes. realSize is length. I don't know what I was thinking... -Tom
On 4/18/07, Ola Bini <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] wrote: > > > > Revision > > 457 > > Author > > enebo > > Date > > 2007-04-17 21:47:52 -0400 (Tue, 17 Apr 2007) > > > > > > Log Message > > > > Iteration of string should be from begin <= i < realSize not begin <= i < > > begin + realSize > > [fixes one goldberg problem] > Hey, Tom, this doesn't sound right at all. realSize is the length of the > actual String. If you're just iterating to realSize, then you'll not > evaluate all characters. > > -- > Ola Bini (http://ola-bini.blogspot.com) > JvYAML, RbYAML, JRuby and Jatha contributor > System Developer, Karolinska Institutet (http://www.ki.se) > OLogix Consulting (http://www.ologix.com) > > "Yields falsehood when quined" yields falsehood when quined. > > > _______________________________________________ > Jruby-extras-devel mailing list > [email protected] > http://rubyforge.org/mailman/listinfo/jruby-extras-devel > -- Blog: http://www.bloglines.com/blog/ThomasEEnebo Email: [EMAIL PROTECTED] , [EMAIL PROTECTED] _______________________________________________ Jruby-extras-devel mailing list [email protected] http://rubyforge.org/mailman/listinfo/jruby-extras-devel
