HTTPS clone URL
Subversion checkout URL
Please sign in to comment.
array.c : speedup Array#unshift by using space in shared array
- when array owns its shared array (ARY_SHARED_NUM == 1), and there is enough space then try unshift values directly into shared array - when resulting array is big (~>64 items) then make it shared with enough room for future #unshifts, and then insert into shared array
- Loading branch information...