Optimisations

A collection of optimisation patterns to save gas and steps.

Last change: 2024-06-09, commit: 3fbfb60