Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve data structures #35

Open
georgematheos opened this issue Nov 6, 2020 · 0 comments
Open

Improve data structures #35

georgematheos opened this issue Nov 6, 2020 · 0 comments

Comments

@georgematheos
Copy link
Owner

Currently, there are several ways the data structures for the world could be improved:

  1. Several data structures could probably be streamlined by using some more general-purpose data structure. Perhaps a PersistentAddressTree/PersistentTrie would be useful. MultiSet is probably also useful (Use multiset for lookup count tracking #34).
  2. I currently use NamedTuples instead of PersistentHashMaps in several data structures; I had thought when I implemented this that this would be more performant, but I'm not very confident about this. It is probably worth checking
  3. Using https://github.com/RelationalAI-oss/MuttsDicts.jl instead of FunctionalCollections may yield performance benefits.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant