hyperdrive-next icon indicating copy to clipboard operation
hyperdrive-next copied to clipboard

Why not compact encoding for Nodes?

Open Nuhvi opened this issue 3 years ago • 1 comments

Is there a reason why you chose to encode node as JSON as opposed to using compact-encoding-struct which should give similar flexibility and only add 3 bytes overhead? Would that be a welcome PR?

Nuhvi avatar Jul 27 '22 14:07 Nuhvi

No it should be compact encoding. Was due to iteration speed. Soon I’ll port it to compact with backwards compat 💪

mafintosh avatar Jul 27 '22 14:07 mafintosh