Commit Graph
9 Commits
Author SHA1 Message Date
Bryan Boreham 36ff5ab71a Write psMap out directly
rather than going via intermediate data structure
2017-04-25 10:38:56 +00:00
Bryan Boreham b3f53a7a81 Call CodecDecodeSelf() instead of Decode()
This avoids a runtime type lookup, so goes a little faster.
Also having less recursion makes it easier to interpret profiles.
2017-03-23 12:25:12 +00:00
Bryan Boreham b085c80ef3 Decode via byte slice for memcache and file read
This is more efficient, since the decoder can read field names in-place.
It also appears to be absolutely faster.
2017-03-14 14:54:17 +00:00
Jonathan Lange 2bfd6d7eb7 Parametrize compression level 2016-07-15 11:24:36 +01:00
Jonathan Lange 23faf583b3 Drop gob support 2016-06-21 11:56:56 +01:00
Jonathan Lange 8bd8f883a1 Restore debugging logic 2016-06-21 11:08:55 +01:00
Jonathan Lange e5417342ba Review comments 2016-06-21 10:33:15 +01:00
Jonathan Lange 81b05a33ee Make ReadBinary more general and re-use in router 2016-06-20 18:02:23 +01:00
Jonathan Lange 13269e8110 Helper for reading & writing from binary 2016-06-17 15:24:33 +01:00