more const string ref optimizing