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 sequence_builder #40

Closed
17 tasks done
tandav opened this issue Jan 24, 2022 · 0 comments
Closed
17 tasks done

improve sequence_builder #40

tandav opened this issue Jan 24, 2022 · 0 comments

Comments

@tandav
Copy link
Owner

tandav commented Jan 24, 2022

  • Add access to prefix in sequence_builder constraints
    For example to check that -1, -2, -3 root notes are not equal to current
  • clean options type narrowing in SequenceBuilder #66
  • more tests
    • test unique and parallel (theres frozenset usage inside)
  • feature: take callable which generates options for each step. (now you can only iterate through every possible options)
    pass args to that callable
  • upgrade to class
    classmethods for different scenarios: options is iterable, iterable of iterables, callable
  • add caching
    • profile cache, is it used in my algo, maybe computing permutations-like sequences didn't use cache (waste of RAM)
    • its kinda not used (ensure this is not because of some stupid bug) sequence_builder.cache_info(): CacheInfo(hits=0, misses=1397182, maxsize=None, currsize=1397182)
    • maybe some parts of the build / constraint checks can be cached
  • parallel computing
  • fix sequence_builder(loop=True) not working example #49
  • tqdm progressbar
  • use iter, next for SequenceBuilder
@tandav tandav changed the title Add access to prefix in sequence_builder constraints improve sequence_builder Jan 28, 2022
@tandav tandav pinned this issue Apr 2, 2022
@tandav tandav unpinned this issue Apr 2, 2022
@tandav tandav closed this as completed Apr 2, 2022
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