Skip to content

Avoid rebuilding molGraph on canonical-cache misses #44

Description

@LouieSlocombe

canonise (line 78) rebuilds a heap-heavy graph through constructFromEdgeList (line 363), which scans all edges and copies atom strings.
Iterate selected mask bits, pre-intern atom labels, and feed reusable flat CSR scratch directly into tree/cyclic canonicalisation. This most benefits 5843 and bisphenylmaleimide, where 60–71% of algorithm time is initial enumeration.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions