[macruby-changes] [MacRuby/MacRuby] 0a703d: Performance improvement in String#times.
noreply at github.com
noreply at github.com
Thu Jun 2 19:03:38 PDT 2011
Branch: refs/heads/master
Home: https://github.com/MacRuby/MacRuby
Commit: 0a703d20963e70343a9ade84f23768287791fb46
https://github.com/MacRuby/MacRuby/commit/0a703d20963e70343a9ade84f23768287791fb46
Author: Watson <watson1978 at gmail.com>
Date: 2011-06-02 (Thu, 02 Jun 2011)
Changed paths:
M string.c
Log Message:
-----------
Performance improvement in String#times.
- Before
user system total real
1.620000 0.080000 1.700000 ( 1.703623)
- After
user system total real
0.590000 0.090000 0.680000 ( 0.671640)
----
require 'benchmark'
Benchmark.bm do |x|
x.report {
str = "123" * 100_000_000
}
end
More information about the macruby-changes
mailing list