quasilyte/go-perfguard

Opt rule, o2 level: math rewrite rules

quasilyte opened this issue · 0 comments

TODO: figure out more rules.

TODO: benchmark and verify that Go compiler doesn't optimize these on its own.

  • a < b/c => a * c < b