Faster general patterns