Please sign in to comment.
Optimized #stub_requests a bit.
Appending to an array with `<< value` is faster than with `+= [value]`, as it doesn't create a new array object for each append. A benchmark shows there is about a 10x performance difference: http://gist.github.com/544809
- Loading branch information...
Showing with 8 additions and 4 deletions.