diff options
author | Eric Wong <normalperson@yhbt.net> | 2010-07-06 10:33:01 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2010-07-06 10:39:46 +0000 |
commit | 9ce364b079efdb3bcef504a84e2460a9b2b4b9ad (patch) | |
tree | 54cb5cc97a940687b0a3405a25851c7cee8973ce /rainbows.gemspec | |
parent | 9ab356d3969779d7f8f4be6579bfa7570c703f21 (diff) | |
download | rainbows-9ce364b079efdb3bcef504a84e2460a9b2b4b9ad.tar.gz |
rb_str_slice_bang() allocates a new string internally and calls rb_str_aref_m() AND rb_str_aset_m(), too. String#[] just calls rb_str_aref_m() directly, so it's a much quicker code path. Also, "[]" methods dispatch faster under 1.9, too.
Diffstat (limited to 'rainbows.gemspec')
0 files changed, 0 insertions, 0 deletions