Looked at the code and saw some duplications — we have one and the same functions in different tools, sometimes with a bit of different implementations, which evolved over the time.
This is a small attempt for unification and deduplication for several of them. Compile-tested.
If you like the approach, I can look further into this.
Looked at the code and saw some duplications — we have one and the same functions in different tools, sometimes with a bit of different implementations, which evolved over the time. This is a small attempt for unification and deduplication for several of them. Compile-tested. If you like the approach, I can look further into this.