aboutsummaryrefslogtreecommitdiffstats
path: root/bootstrap/lib
diff options
context:
space:
mode:
authorMichał Muskała <[email protected]>2018-07-17 18:38:10 +0200
committerMichał Muskała <[email protected]>2018-07-17 19:30:49 +0200
commit0916c5c6e536affca1f6f0c7693d68fb64843c1c (patch)
tree1323d1656dc8770e8b9e24f997e323f77720022e /bootstrap/lib
parent0e9c319480d9cfb778b654bf2cd71e7bd31464f9 (diff)
downloadotp-0916c5c6e536affca1f6f0c7693d68fb64843c1c.tar.gz
otp-0916c5c6e536affca1f6f0c7693d68fb64843c1c.tar.bz2
otp-0916c5c6e536affca1f6f0c7693d68fb64843c1c.zip
maps:new/0 is no longer a BIF
Implementing it in Erlang allows taking advantage of the literal pool optimisation, this means the function implemented in Erlang does no allocations, while the BIF had to allocate new map each time it was called. Benchmarks show the function is also slightly faster now.
Diffstat (limited to 'bootstrap/lib')
0 files changed, 0 insertions, 0 deletions