• René Nussbaumer's avatar
    Refactor IAllocator code · 0fcd0cad
    René Nussbaumer authored
    The IAllocator class was handling all the requests on its own, passing
    in parameters on top level which works, but is hard to maintain and not
    With the upcoming change to the IAllocator for MultiAllocate we can't
    use the toplevel parameters anymore. Therefore, we refactor the code
    into separate classes, which just do their own stuff. It works similiar
    to Opcode containers.
    Signed-off-by: default avatarRené Nussbaumer <rn@google.com>
    Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
iallocator.py 18.3 KB