Skip to content
This repository was archived by the owner on Sep 12, 2018. It is now read-only.
This repository was archived by the owner on Sep 12, 2018. It is now read-only.

[tx] Optimize representation of idents and ident->entid maps #192

@ncalexan

Description

@ncalexan

After #170, we will represent a schema as three maps: ident->entid, the inverse, and entid->schema attributes. This ticket tracks optimizing the representation of idents and ensuring the entid look-ups are fast.

There's a lot possible here, but let's start by linking to @rnewman's comments about interning idents in #32 and at #171 (comment), and his comment about sparse array maps at #171 (comment).

Generally, I think a good second iteration will be using https://github.com/servo/string-cache for idents and using a sparse map for entid lookups.

This is not a [good first bug], and it's probably not even a [good next bug].

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-coreA-transactIssues or requests in the transactor.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions