another micro optimization