• Guillaume Melquiond's avatar
    Avoid pointless closures when hash-consing lists. · 5bb78bd4
    Guillaume Melquiond authored
    Best of three runs on a bench for Gappa transformations:
    - before: 34.98user 0.09system 0:35.13elapsed 99%CPU (0avgtext+0avgdata 241492maxresident)k
    - after:  29.68user 0.08system 0:29.80elapsed 99%CPU (0avgtext+0avgdata 241820maxresident)k
    Speed-up: +18%.
    5bb78bd4
hashcons.ml 1.81 KB