save a small number of strlen calls. no measurable perf impact.