阅读背景:

如何使用RubyInline将ruby数组转换为C数组?

来源:互联网 

I have a function which compares 2 strings char by char. I needed it to run much faster than it is in Ruby so I used RubyInline to rewrite the function in C. It did increase the speed about 100 fold. The function looks like this:I have a function which compares 2 strings char




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: