Uncomment fast path

This commit is contained in:
Justin Ethier 2017-10-26 22:35:11 +00:00
parent 703f863e48
commit 77e391cabc

View file

@ -978,7 +978,7 @@
((string_type *)s)->num_cp = num_cp;
((string_type *)s)->str = alloca(sizeof(char) * (len + 1));
}
if (0 && num_cp == 1) { /* Fast path */
if (num_cp == 1) { /* Fast path */
memset(((string_type *)s)->str, ch_buf[0], len);
} else {
char *buf = ((string_type *)s)->str;