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

Performance Tweaks, Iterators, and Lazy Evaluations #308

Open
wants to merge 10 commits into
base: master
Choose a base branch
from

Commits on Apr 22, 2024

  1. Configuration menu
    Copy the full SHA
    574ee5d View commit details
    Browse the repository at this point in the history
  2. Adding placeholder definitions of Dejavu.songs, Dejavu.songshashes_se…

    …t to take advantage of Python's special, optimized dict build for __init__
    PyWoody committed Apr 22, 2024
    Configuration menu
    Copy the full SHA
    d77a865 View commit details
    Browse the repository at this point in the history
  3. fingerprint_directory now uses a concurrent.futures.ProcessPoolExecut…

    …or to compute hashes. Since a ProcessPoolExecutor can pass args and kwargs, Dejavu._fingerprint_worker not takes the file_name and limit args directly.
    PyWoody committed Apr 22, 2024
    Configuration menu
    Copy the full SHA
    ba77e00 View commit details
    Browse the repository at this point in the history
  4. Minor tweak for cleanup

    PyWoody committed Apr 22, 2024
    Configuration menu
    Copy the full SHA
    6ce7dbf View commit details
    Browse the repository at this point in the history
  5. Adding find_files_g which is an iterator that yields the fpath, exten…

    …sion tuple. Also adds the ':' to unique_hash that I forgot but am too lazy to fix in the commit
    PyWoody committed Apr 22, 2024
    Configuration menu
    Copy the full SHA
    3eab4f1 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    21f68ed View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    7ab1ce5 View commit details
    Browse the repository at this point in the history
  8. Changing counts and song_matches in align_matches to use generator ex…

    …pressions for lazy evaluation
    PyWoody committed Apr 22, 2024
    Configuration menu
    Copy the full SHA
    19201bf View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    6034978 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    2305629 View commit details
    Browse the repository at this point in the history