20:33:17drmeistermake-hash-table has a :size argument - and the first thing I'm trying is to pass a large number that represents the upper limit of hash-table size when running map-instructions on forms that generate some of the largest HIR graphs.
20:33:38drmeisterI'm using compilation of babel as my example.
20:34:23drmeisterI'm using (make-hash-table :test #'eq :size 524288) currently - that's the largest hash-table that I've seen while building babel.
20:34:44drmeisterHow do you feel about the :size argument to make-hash-table? Is this a reasonable thing to do?
20:36:12drmeisterThat is going to take up about 8MB - I figure memory is cheap and these hash tables are temporary - so why not start them off really large.
20:37:25drmeisterAn alternative plan would be to try and guess how large the hash-tables will get. We could measure the size of the AST and correlate that with the size of the HIR graphs and use the correlation to make a prediction.
20:37:58shka_or use HAMT that can grow incremental