aboutsummaryrefslogtreecommitdiffstats
path: root/make/install_bin
diff options
context:
space:
mode:
authorDániel Szoboszlay <[email protected]>2019-01-04 15:26:26 +0100
committerDániel Szoboszlay <[email protected]>2019-01-22 12:27:38 +0100
commit69bff908293f00e242a8f0776efff0c3765ce235 (patch)
tree0239ca2339464629608d5b678f0f9b20b6fb29bf /make/install_bin
parentbd1131fba3525599156ee685cdb8621b8e8d84a9 (diff)
downloadotp-69bff908293f00e242a8f0776efff0c3765ce235.tar.gz
otp-69bff908293f00e242a8f0776efff0c3765ce235.tar.bz2
otp-69bff908293f00e242a8f0776efff0c3765ce235.zip
Optimise ext table dumping
The original algorithm first grouped ops in a commit by ext engine type via folding over the list with orddict:append/3, that resulted in an O(n^2) algorithm. However, grouping the ops is not needed, the ops can be dispatched to insert_op/6 one-by-one, after looking up the storage semantics of their respective engine. This is a much cheaper algorithm, assuming looking up the storage semantics is cheap (which should be).
Diffstat (limited to 'make/install_bin')
0 files changed, 0 insertions, 0 deletions