Skip to content

MaxRects speedup? #21

@samsonsite1

Description

@samsonsite1

Hello,

This one function call, PruneFreeList(), seems to be slowing down the entire MaxRectsBinPack routine, as it's called after every insert. From what I understand, PruneFreeList() runs a containment test on a list of free rectangles. If one rect is inside another, it's erased from the list.

Is there a better way to find all possible containments, and then delete them?
Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions