Closed Watson1978 closed 1 year ago
There is an API to get a Symbol object from a String object.
The same API is eventually called with rb_funcall(), but it might have some overhead. https://github.com/ruby/ruby/blob/master/string.c#L11988
There is an API to get a Symbol object from a String object.
The same API is eventually called with rb_funcall(), but it might have some overhead. https://github.com/ruby/ruby/blob/master/string.c#L11988