Bryan Boreham
5acece6e58
Refactor: loop replaced with append()
2017-10-11 09:50:06 +00:00
Bryan Boreham
29f139d424
Re-implement LatestMap as a sorted slice for better performance
...
both the Python generator and the Go generated code are checked in
2017-10-01 16:18:59 +00:00
Matthias Radestock
4dbb913ca2
refactor: remove dead Copy() code
2017-07-04 07:35:30 +01:00
Matthias Radestock
430e74a80a
refactor: remove report latest map Delete()
...
It wasn't used, and is problematic in any case since it introduces
non-monotonicity.
2017-07-03 02:06:21 +01:00
Matthias Radestock
9dc50b5202
refactor: hide "empty set" constants
...
They are an implementation detail.
2017-07-03 01:26:22 +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
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
de97a72661
Remove indirection via LatestMap
...
Structs like StringLatestMap now use ps.Map directly, which saves
a memory allocation for LatestEntry.Value to point to.
The values in the ps.Map are now pointers, which saves a memory
allocation indirecting a value type to an interface{}
2017-03-20 11:51:04 +00:00
Krzesimir Nowak
5fdb8a5362
Add a concrete version of LatestMap for node controls
...
This LatestMap will hold a struct that has more information about the
state of the node control.
2016-08-12 17:03:42 +02:00
Krzesimir Nowak
7f46b90e27
Make LatestMap "generic"
...
This commit makes the LatestMap type a sort of a base class, that
should not be used directly. This also adds a generator for LatestMap
"concrete" types with a specific data type in the LatestEntry.
2016-08-12 17:03:42 +02:00