huff-language / huffmate

A library of modern, hyper-optimized, and extensible Huff contracts with extensive testing and documentation built by Huff maintainers.
https://github.com/pentagonxyz/huffmate
MIT License
430 stars 55 forks source link

Optimization (safeMul): Replace jumpi with jump for unconditional branching #142

Open joaonevess opened 4 weeks ago

joaonevess commented 4 weeks ago

Save 5 gas by using jump instead of jumpi with always true (0x01) condition