Switch to Record.prototype

This is more idiomatic and certainly saves a bunch of memory.

I don't see it improving performance on my test, though.