Change AllocSolution from tuple to its own type
Tuples are good for two, three, at most four elements. Beyond that, the continuous pattern matching and construction/deconstruction becomes tedious. Since in the future we'll probably keep more information in the AllocSolution type, we change it now from a triple to a "real" data type. We also do some cleanups: adding a real emptyAlloc value, instead of the previous hardcoded ones, and add some more comments on how we do the multi-evacuation. Signed-off-by:Iustin Pop <iustin@google.com> Reviewed-by:
Balazs Lecz <leczb@google.com>
Please register or sign in to comment