Skip to content
This repository was archived by the owner on Oct 20, 2025. It is now read-only.
This repository was archived by the owner on Oct 20, 2025. It is now read-only.

Optimise ForeignKey accumulation #94

@josepajay

Description

@josepajay

Accumulating PrimaryKeys in a Set was using large amounts of memory. Currently we are hashing the primaryKeys and then storing it in Sets to reduce the memory usage. See function readAndValidateWithParser for more information on this.

A similar approach can be taken for foreignKeys, as the current implication might use up lot of memory if there are multiple tables and foreignKeys defined.

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