Skip to content

Commit

Permalink
make Array#shift doesn't set arrays shared (bm_so_lists 4x faster), r…
Browse files Browse the repository at this point in the history
…emove unnecessary nil fillings when they would be overwritten immediately (or an array doesn't escape). Eliminate lots of length checking on array construction paths. Other minor optimizations. Array#+ 2-3x faster, others depending on nil filling 5-10% faster.

git-svn-id: http://svn.codehaus.org/jruby/trunk/jruby@7998 961051c9-f516-0410-bf72-c9f7e237a7b7
  • Loading branch information
lopex committed Nov 4, 2008
1 parent 8a1ea45 commit 922fd0c
Showing 1 changed file with 116 additions and 93 deletions.
Loading

0 comments on commit 922fd0c

Please sign in to comment.