From: Ryan Davis Date: 2012-05-15T04:37:23+09:00 Subject: Re: [C ext] Why so many methods rb_hash_xxxxx are not public? On May 14, 2012, at 08:11 , Iņaki Baz Castillo wrote: > Hi, is there any special reason for having most of the rb_hash_xxxx > methods not public? For example, I want to empty a Ruby hash from C > code, so I expected to use rb_hash_clear(VALUE hash), but... it's > declared as static!!! > > So why??? what is the "workaround"? rb_funcall. I highly doubt that calling rb_hash_clear is your bottleneck.