From: Gunther Diemant Date: 2011-03-04T21:36:23+09:00 Subject: Re: Splat operator gives an SystemStackError Am 04.03.2011 12:48, schrieb Justin Collins: > You are trying to pass in 150,000 arguments to a method. Surprisingly, > this did work for me on 1.8.7-p302. However, 1.9 has very different > internals. This is a complete guess, but it may be trying to push all > of those arguments onto the stack, giving the resulting error. > > -Justin > So, you think there is a limit to the number of method arguments (at least in 1.9)? I came across this problem, when I tried some different approaches to convert an array to a hash (inspired by http://exposinggotchas.blogspot.com/2011/03/fun-with-ruby-arrays-hashes-and.html). At least, the splat isn't necessary in this case. -Gunther