Skip to content
  • Iustin Pop's avatar
    Change AllocSolution from tuple to its own type · 85d0ddc3
    Iustin Pop authored
    
    
    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: default avatarIustin Pop <iustin@google.com>
    Reviewed-by: default avatarBalazs Lecz <leczb@google.com>
    85d0ddc3