1
1
mirror of https://github.com/theoludwig/libcproject.git synced 2025-05-21 23:21:15 +02:00
Files
libcproject/test
Théo LUDWIG 72645da4b2 perf: mutate strings instead of copy when possible
BREAKING CHANGE: Most of string functions mutates the string instead of copying now.
This allows better performance when copy is not needed.
It also allows more granual control.
If copy is wanted, simply use `string_copy` before calling the function.

Impacted functions are:
`string_to_uppercase`, `string_to_lowercase`, `string_replace`,
`string_trim_start`, `string_trim_end`, `string_trim`,
`string_capitalize`, `string_reverse`
2023-08-06 23:17:07 +02:00
..
2023-08-03 19:42:50 +02:00
2023-08-03 23:17:54 +02:00
2023-06-25 20:09:07 +02:00
2023-08-03 22:57:32 +02:00
2023-08-03 23:01:19 +02:00
2023-06-25 20:09:07 +02:00
2023-06-25 20:09:07 +02:00