mirror of
https://github.com/justinethier/cyclone.git
synced 2025-05-23 20:15:05 +02:00
Uncomment fast path
This commit is contained in:
parent
703f863e48
commit
77e391cabc
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue