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

util module: Standard datatypes that shouldn't be in the global namespace #9

Open
cadebrown opened this issue Jan 20, 2021 · 0 comments

Comments

@cadebrown
Copy link
Owner

This module is for common and/or fundamental datatypes that should be in the standard library, but not a builtin name (to avoid clutter).

For example, types:

  • util.Graph: General purpose graph, stored using sorted adjacency lists (or hash tables maybe). Needs to be a good general purpose graph datastructure, with directed edges. Edges and nodes should have a generic object val attribute
  • util.Queue: General purpose double-ended-queue
  • util.BST: Binary search tree, for sorted data collection, with range searches
  • util.Bitset: Set of integers that can be stored efficiently, with a .asmask() function that returns an integer
@cadebrown cadebrown mentioned this issue Jan 20, 2021
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