> We already do this. Look at ggc_collect for details. Hmm, so does this heuristic take too much time? Maybe if you change the constant from 1.3 to 1.25 or 1.5, gcc can compile the multiply to a shift and an add?