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

Speed improvements #74

Merged
merged 4 commits into from
Aug 8, 2020
Merged

Speed improvements #74

merged 4 commits into from
Aug 8, 2020

Commits on Aug 5, 2020

  1. Add caching on recurring calculations

    Using a LRU cache. For now uses static parameters, in the future some configuration should be added.
    Eduardo Soares committed Aug 5, 2020
    Configuration menu
    Copy the full SHA
    fc764d5 View commit details
    Browse the repository at this point in the history
  2. Change comparison to bitwise xor

    Is a bit faster in most cases that I have tested.
    Eduardo Soares committed Aug 5, 2020
    Configuration menu
    Copy the full SHA
    a9d3aa7 View commit details
    Browse the repository at this point in the history
  3. Reduce iterations on _where_c

    Instead of iterate all rows and cols, iterate only over the matching values.
    Eduardo Soares committed Aug 5, 2020
    Configuration menu
    Copy the full SHA
    c276ede View commit details
    Browse the repository at this point in the history
  4. Fix bitwise xor when MIMO was used

    Some times the result for the decoded message would be in floats instead of ints, causing the bitwise operation to fail.
    Eduardo Soares committed Aug 5, 2020
    Configuration menu
    Copy the full SHA
    bcc36dd View commit details
    Browse the repository at this point in the history