parseHitCondition rebuilt the same regexp from a MustCompile literal on every call. Move hitConditionRegex to package scope so the pattern is compiled once at initialization while keeping parseHitCondition behavior unchanged.