Closed denizzzka closed 5 years ago
Some years ago I am wrote current version of ZigZag because copy'n'pasted Google's ZigZag code worked wrong in D.
This patch reverts Google version of ZigZag with fix for D and now it works faster because logical branching is gone.
This code copied from @dcarp's https://github.com/dcarp/protobuf-d project
Merged via 76ff3f2d566ecacffb3c3277274ebcb1b895ab8c (I manually rebased it onto master, and github doesn't seem to pick that up)
Some years ago I am wrote current version of ZigZag because copy'n'pasted Google's ZigZag code worked wrong in D.
This patch reverts Google version of ZigZag with fix for D and now it works faster because logical branching is gone.
This code copied from @dcarp's https://github.com/dcarp/protobuf-d project