Exploring different implementations of the same functionality in optimized assembly