-
Notifications
You must be signed in to change notification settings - Fork 7.7k
Commit 21947eb
Make String::concat() faster for some types. (#5307)
* Make String::concat() faster for some types.
This patch removes the unneeded call to `strlen()` when concatenating some types to a `String`. Additionally it fixes some whitespace for consistency.
* Update WString.cpp1 parent c7bdb23 commit 21947eb
1 file changed
+10
-16
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
59 | 59 |
| |
60 | 60 |
| |
61 | 61 |
| |
62 | - | ||
63 | - | ||
64 | - | ||
62 | + | ||
65 | 63 |
| |
66 | 64 |
| |
67 | 65 |
| |
| |||
290 | 288 |
| |
291 | 289 |
| |
292 | 290 |
| |
293 | - | ||
294 | - | ||
295 | - | ||
296 | - | ||
291 | + | ||
292 | + | ||
293 | + | ||
294 | + | ||
295 | + | ||
297 | 296 |
| |
298 | 297 |
| |
299 | 298 |
| |
| |||
347 | 346 |
| |
348 | 347 |
| |
349 | 348 |
| |
350 | - | ||
351 | - | ||
352 | - | ||
349 | + | ||
353 | 350 |
| |
354 | 351 |
| |
355 | 352 |
| |
356 | 353 |
| |
357 | 354 |
| |
358 | - | ||
359 | - | ||
355 | + | ||
360 | 356 |
| |
361 | 357 |
| |
362 | 358 |
| |
363 | 359 |
| |
364 | - | ||
365 | - | ||
360 | + | ||
366 | 361 |
| |
367 | 362 |
| |
368 | 363 |
| |
| |||
373 | 368 |
| |
374 | 369 |
| |
375 | 370 |
| |
376 | - | ||
377 | - | ||
371 | + | ||
378 | 372 |
| |
379 | 373 |
| |
380 | 374 |
| |
|
0 commit comments