flambda optimizations depends on unrelated things #7614
Original bug ID: 7614
Optimization decisions made by flambda are very fragile and sometimes depends on unrelated things.
The text was updated successfully, but these errors were encountered:
Comment author: @chambart
No, it does not affect size approximation.
The difference comes from the order in which expressions are examined. The file name is part of the identifiers which are used as key for an hashtable. While inlining, some quotas are consumed while traversing the expression. It seems that in your case, there is a threshold for a specific function that change a lot of things.
I don't know yet where the difference matter exactly.