[MacRuby] #1077: Performance of String
MacRuby
ruby-noreply at macosforge.org
Wed Jan 5 07:28:37 PST 2011
#1077: Performance of String
----------------------------------+-----------------------------------------
Reporter: yasuimao@… | Owner: lsansonetti@…
Type: defect | Status: new
Priority: blocker | Milestone: MacRuby 1.0
Component: MacRuby | Keywords:
----------------------------------+-----------------------------------------
Comment(by yasuimao@…):
I forgot to add the results of another test. Here, I saved the same file
as ASCII (lossy conversion) and then converted it to UTF-8 (this means the
encoding is UTF-8 but only with ASCII characters).
{{{
MacRuby 0.9 2011/01/05 - UTF-8 encoded but only with ASCII characters
8092 words - 0.58 0.63 0.56
}}}
This is slightly slower than the one with force_encode, but much faster
than the original test (a UTF-8 encoded file with multi-byte characters).
--
Ticket URL: <http://www.macruby.org/trac/ticket/1077#comment:8>
MacRuby <http://macruby.org/>
More information about the macruby-tickets
mailing list