diff options
author | Michal Muskala <[email protected]> | 2017-07-01 17:19:52 +0200 |
---|---|---|
committer | Michal Muskala <[email protected]> | 2017-07-06 11:42:52 +0200 |
commit | 245aa4ed9b41aa601784598b0b3286d29b6d0085 (patch) | |
tree | de5448198979b0ccdc610883d4bcaafab326f0de /erts/emulator/beam/erl_bif_unique.h | |
parent | e8a2cae09282b25a8eda9b6f04876e23a854336b (diff) | |
download | otp-245aa4ed9b41aa601784598b0b3286d29b6d0085.tar.gz otp-245aa4ed9b41aa601784598b0b3286d29b6d0085.tar.bz2 otp-245aa4ed9b41aa601784598b0b3286d29b6d0085.zip |
Introduce new_small_map_lit op
Take advantage of the fact that small maps have a tuple for keys.
When new map is constructed and all keys are literals, we can construct
the entire keys tuple as a literal.
This should reduce the memory of maps created with literal keys almost by half,
since they all can share the same keys tuple.
Diffstat (limited to 'erts/emulator/beam/erl_bif_unique.h')
0 files changed, 0 insertions, 0 deletions