Skip to content

term_count is slow #3

Description

@faridani

think about rewriting it with hashmaps

Right now we are using regex which is slow

Here is a simple solution:
put elements of the input string in a hash map (container map)
compare the contents of that container map with the keys of the header
if exists output the values

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