I'm currently writing a C extension for ruby as part of a project of mine. The extension is to implement an algorithm I have already working in ruby in C for performance reasons. The question I pose though is whether I should use ruby's own data types in the C code or convert them to C's native types for performance reasons?
Would such a conversion make a huge difference?
Thanks in advance
Patrick