plenc
plenc copied to clipboard
Use reflection for maps
We're expecting a change to Go maps in 1.24. This may cause us some issues. So here we've converted the map code to use reflection, which should work unchanged.
This code is quite a bit slower and allocates more, so it's not clear it's the right choice