Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
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.
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.