Skip to content
This repository was archived by the owner on Apr 19, 2023. It is now read-only.
This repository was archived by the owner on Apr 19, 2023. It is now read-only.

Intern/hash-cons atoms #13

Description

@maemre

We are not doing any hash consing/interning for atoms. It is an important optimization. We already have a typedef for atoms so we can replace it with an interned string implementation to handle this in most of the places. We need to implement the Hash, PartialEq, PartialOrd traits for atoms ourselves rather than deriving them to make them efficient.

We also need to switch to atoms in a couple of places that we use strings to get the full benefit (e.g. predicate names).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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