"Dave Wilson" <davel / canuck.com> wrote in message > GGarramuno wrote: > > ts <decoux / moulon.inra.fr> wrote in message > >> Yes, internally ruby is optimized to call directly the C function rather > >> than calling the ruby method. <snip> > > Also, how do you find out about the existence of this optimization? > > By browsing the ruby C code? Or are there some docs available > > somewhere? > > yep, the ruby source code is the primary source of documentation for > this kind of stuff. More over, you have to keep in mind that it is Guy who is answering your questions. I strongly suspect, and I am sure I am not the only one on this ML, that he knows the source code by heart !