But your benchmark still isn't balanced. For example, fn [1b] is using more pure JS/DOM functions and is implemented on Array, while fn [4] is using Moo overhead and is implemented on Element.
The most apt competitor to your className.RegExp is className.indexOf. I adjusted fn [4] accordingly. I think you'll see that [4] wins out at n=10000, 1000, 100 and is about the same at n=10 (I don't think n=10 is appropriate to test, since there is no "smoothing" effect in a benchmark that small). http://mootools.net/shell/bmfGu/3/ -- S.
