Thien-Thi Nguyen wrote:
Is there a performance advantage as well for ‘strchr’?

Well, the call is smaller, and that's a performance win. :-)

Seriously, though, it doesn't matter: this code is never a performance bottleneck, so simplicity is more important than efficiency here.

Reply via email to