• Hixie's avatar
    Rewrite the MultiChildRenderObjectWrapper syncing algorithm. · 79a9e670
    Hixie authored
    This also changes the way we insert nodes into a
    MultiChildRenderObjectWrapper's renderObject, which fixes issue #626.
    Now, instead of the slot being a renderObject, it's the Widget that
    currently uses that renderObject. That way when the Widget changes
    which renderObject to use, the siblings of that Widget in the same
    child list don't have to be notified of the change.
    
    I tested performance of the new algorithm vs the old algorithm using
    the stocks demo at idle and the stocks demo scrolling steadily. The
    data suggests the algorithms are roughly equivalent in performance.
    79a9e670
Name
Last commit
Last update
..
animation Loading commit data...
base Loading commit data...
editing Loading commit data...
mojo Loading commit data...
painting Loading commit data...
rendering Loading commit data...
theme Loading commit data...
widgets Loading commit data...
README.md Loading commit data...
rendering.dart Loading commit data...
sky_tool Loading commit data...
widgets.dart Loading commit data...