3 ms·Not sure, but it's a lot faster either way: https://gist.github.com/1117138 https://gist.github.com/1117138by Fluxx 15y agoNot sure, but it's a lot faster either way: https://gist.github.com/1117138 https://gist.github.com/1117138stephth 15y agoThat's an impressive speed boost. How much of the Ruby stdlib is implemented in C?wycats 15y agoI'd be interested to see how a better-implemented, properly optimized pure-Ruby version would perform.