Closed bystones closed 8 years ago
I added a few more commits on top with dropping ffjson for encoding/json.
I don't have Postgres installed so I didn't run tests. If you want to take the commit which drops ffjson you need to update the Godeps file as well (never used that tool so I didn't do that either).
I did some benchmarking. The big json speedup is moving from a map to a struct. The json->ffjson step doesn't make much difference. I recommend sticking with the standard library for now.
I've deployed the code and there isn't really a difference: https://www.dropbox.com/s/mu2c19vi0s0adbw/Screenshot%202016-04-08%2017.07.09.png?dl=0
The code is cleaner though, so thank you :)
Completly untested, so use with caution.
I left two TODOs in there: