Optimisations

A collection of optimisation patterns to save gas and steps.

Last change: 2023-10-12, commit: 90aa7c0