Skip to content
Snippets Groups Projects
Commit 6331d2c2 authored by Henrik (Grubba) Grubbström's avatar Henrik (Grubba) Grubbström
Browse files

encode_value: Use MAPPING_FLAG_NO_SHRINK.

The mapping with encoded values is intentionally allocated with
medium sized hashtable. Shrinking it due to use of map_delete()
is just a waste of cpu.

Attempts to improve performance of encode_value() for objects,
programs and functions a bit more.
parent 27ae4d12
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment