Skip to content

Performance table row for looking up existing strings #78

@Hawk777

Description

@Hawk777

I like the concise data about performance and features in the table in the README. However, it seems to be missing a row for the performance of looking up strings in the interner, which seems like it would be a very common operation. If I understand correctly, “fill” means adding new strings (i.e. calling get_or_intern on a string that is not already present) while “resolve” means converting symbols back to strings (i.e. calling resolve), but there doesn’t seem to be a row for calling get_or_intern on a string that is already present. For some applications, that’s going to be the vast majority of operations; for example, consider an application where you have a modest vocabulary that will all get interned quite soon after startup, but a very long sequence of words from that vocabulary that need to be converted into symbols as they’re received.

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