optimize all patterns to noop when not being used

feel free to delete this line for any pattern, especially if another optimization is already doing the same thing