mirror of
https://github.com/curl/curl.git
synced 2026-08-25 07:43:32 +03:00
u8_strset: start with 8 default entries
The previous 4 entries were exhausted on simple command lines, depending on environment/build. Grow the initial size to 8 to avoid early allocs. Closes #22633
This commit is contained in:
parent
4f8dabcec2
commit
2f1dda9691
2 changed files with 16 additions and 16 deletions
|
|
@ -36,7 +36,7 @@
|
|||
* meaning 91% of our tests to not set more than 4 strings and
|
||||
* 99% do not set more than 8.
|
||||
*/
|
||||
#define CURL_U8_STRSET_START_BITS 2
|
||||
#define CURL_U8_STRSET_START_BITS 3
|
||||
#define CURL_U8_STRSET_START_DIM (1U << CURL_U8_STRSET_START_BITS)
|
||||
|
||||
/* A set that can hold up to 256 strings identified by an `id'.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue