rest-client/rest-client — pull request #290 by nelhage (2014-06-08 19:58:06+00:00)
Title: Don't redo so much work creating URL-encoded params.

Create a single URI::Parser and a single Regexp object, and reuse them.

On my laptop, this reduces the time needed by

```ruby
RestClient::Payload.generate({topic: 'performance', key: 'rest-client', value: 'better'})
```
from a whopping 7ms to a negligible 0.01ms.