Commit Graph

6 Commits

Author SHA1 Message Date
Bryan Boreham
f92200e66c Node.WithLatests() takes a slice instead of a map
And do just one memory allocation to insert all values instead of
repeatedly re-allocating and inserting.
2018-07-16 07:47:46 +00:00
Matthias Radestock
e24d3e93fe Add static map of common keys to reduce allocations 2017-12-11 20:26:47 +00:00
Matthias Radestock
94a11ff2e8 encode empty ps.Maps as nil
every little helps
2017-05-29 17:50:55 +01:00
Matthias Radestock
29f2af11d9 introduce mapKeys helper 2017-05-29 14:08:26 +01:00
Bryan Boreham
36ff5ab71a Write psMap out directly
rather than going via intermediate data structure
2017-04-25 10:38:56 +00:00
Bryan Boreham
970ab66ea0 Extract map helper functions 2017-03-20 11:50:19 +00:00