I still think this is a pessimization. Slowing down the common case where s is non-empty to speed up an already-fast case.