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 fallback speed when folded multiply is not available #134

Merged
merged 28 commits into from Oct 25, 2022

Commits on Oct 19, 2021

  1. Test example

    Signed-off-by: Tom Kaitchuck <Tom.Kaitchuck@gmail.com>
    tkaitchuck committed Oct 19, 2021
    Copy the full SHA
    c0efa32 View commit details
    Browse the repository at this point in the history

Commits on Oct 22, 2021

  1. Use a runtime-rng feature flag instead of using OS detection (#82)

    * Use a runtime-rng feature flag instead of using OS detection
    * Use --no-default-features on WASM
    * Update Cargo.toml
    
    Co-authored-by: bl-ue <54780737+bl-ue@users.noreply.github.com>
    
    Co-authored-by: Tom Kaitchuck <tkaitchuck@users.noreply.github.com>
    Co-authored-by: bl-ue <54780737+bl-ue@users.noreply.github.com>
    3 people committed Oct 22, 2021
    Copy the full SHA
    3b9d761 View commit details
    Browse the repository at this point in the history
  2. Use cfg-if to simplify conditions

    Signed-off-by: Tom Kaitchuck <Tom.Kaitchuck@gmail.com>
    tkaitchuck committed Oct 22, 2021
    Copy the full SHA
    7a2ea9a View commit details
    Browse the repository at this point in the history
  3. Require rng for RandomState::default and new.

    Signed-off-by: Tom Kaitchuck <Tom.Kaitchuck@gmail.com>
    tkaitchuck committed Oct 22, 2021
    Copy the full SHA
    0c484f4 View commit details
    Browse the repository at this point in the history
  4. Move multiple

    Signed-off-by: Tom Kaitchuck <Tom.Kaitchuck@gmail.com>
    tkaitchuck committed Oct 22, 2021
    Copy the full SHA
    eb5ae12 View commit details
    Browse the repository at this point in the history
  5. Restore const defult for arm.

    Signed-off-by: Tom Kaitchuck <Tom.Kaitchuck@gmail.com>
    tkaitchuck committed Oct 22, 2021
    Copy the full SHA
    e1c8594 View commit details
    Browse the repository at this point in the history
  6. Don't use runtime rng when fuzzing

    Signed-off-by: Tom Kaitchuck <Tom.Kaitchuck@gmail.com>
    tkaitchuck committed Oct 22, 2021
    Copy the full SHA
    2613d0e View commit details
    Browse the repository at this point in the history
  7. Fix test imports on nightly

    Signed-off-by: Tom Kaitchuck <Tom.Kaitchuck@gmail.com>
    tkaitchuck committed Oct 22, 2021
    Copy the full SHA
    a4fd0f8 View commit details
    Browse the repository at this point in the history

Commits on Nov 28, 2021

  1. Add support for hash_one

    Signed-off-by: Tom Kaitchuck <Tom.Kaitchuck@gmail.com>
    tkaitchuck committed Nov 28, 2021
    Copy the full SHA
    8ab8118 View commit details
    Browse the repository at this point in the history
  2. Move test to use hash_one

    Signed-off-by: Tom Kaitchuck <Tom.Kaitchuck@gmail.com>
    tkaitchuck committed Nov 28, 2021
    Copy the full SHA
    5b86423 View commit details
    Browse the repository at this point in the history

Commits on Feb 27, 2022

  1. Copy the full SHA
    1cd35a6 View commit details
    Browse the repository at this point in the history
  2. Clean up after merge

    Signed-off-by: Tom Kaitchuck <Tom.Kaitchuck@gmail.com>
    tkaitchuck committed Feb 27, 2022
    Copy the full SHA
    d32f11c View commit details
    Browse the repository at this point in the history
  3. add map benchmark

    Signed-off-by: Tom Kaitchuck <Tom.Kaitchuck@gmail.com>
    tkaitchuck committed Feb 27, 2022
    Copy the full SHA
    bf19b40 View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    3ce9966 View commit details
    Browse the repository at this point in the history

Commits on May 26, 2022

  1. Move get_src to a static method

    Signed-off-by: Tom Kaitchuck <Tom.Kaitchuck@gmail.com>
    tkaitchuck committed May 26, 2022
    Copy the full SHA
    7f5f0d8 View commit details
    Browse the repository at this point in the history

Commits on Aug 7, 2022

  1. Merge with master master. Clean up imports

    Signed-off-by: Tom Kaitchuck <Tom.Kaitchuck@gmail.com>
    tkaitchuck committed Aug 7, 2022
    Copy the full SHA
    450813b View commit details
    Browse the repository at this point in the history

Commits on Aug 9, 2022

  1. Remove some warnings

    Signed-off-by: Tom Kaitchuck <Tom.Kaitchuck@gmail.com>
    tkaitchuck committed Aug 9, 2022
    Copy the full SHA
    16db81c View commit details
    Browse the repository at this point in the history
  2. Add hash_once for non-nightly

    Signed-off-by: Tom Kaitchuck <Tom.Kaitchuck@gmail.com>
    tkaitchuck committed Aug 9, 2022
    Copy the full SHA
    70f9a03 View commit details
    Browse the repository at this point in the history
  3. Fix bench for no-std

    Signed-off-by: Tom Kaitchuck <Tom.Kaitchuck@gmail.com>
    tkaitchuck committed Aug 9, 2022
    Copy the full SHA
    7689662 View commit details
    Browse the repository at this point in the history
  4. Remove direct hasher instantion

    Signed-off-by: Tom Kaitchuck <Tom.Kaitchuck@gmail.com>
    tkaitchuck committed Aug 9, 2022
    Copy the full SHA
    7d7b4de View commit details
    Browse the repository at this point in the history
  5. Bump version

    Signed-off-by: Tom Kaitchuck <Tom.Kaitchuck@gmail.com>
    tkaitchuck committed Aug 9, 2022
    Copy the full SHA
    678fa84 View commit details
    Browse the repository at this point in the history

Commits on Aug 16, 2022

  1. Add faster fallback for architectures without folded_multiply

    Signed-off-by: Tom Kaitchuck <Tom.Kaitchuck@gmail.com>
    tkaitchuck committed Aug 16, 2022
    Copy the full SHA
    4dc5de8 View commit details
    Browse the repository at this point in the history

Commits on Aug 19, 2022

  1. Remove folded mul on non-folded-mul path

    Signed-off-by: Tom Kaitchuck <Tom.Kaitchuck@gmail.com>
    tkaitchuck committed Aug 19, 2022
    Copy the full SHA
    a8652bf View commit details
    Browse the repository at this point in the history

Commits on Aug 20, 2022

  1. Use extra keys in non-folded fallback

    Signed-off-by: Tom Kaitchuck <Tom.Kaitchuck@gmail.com>
    tkaitchuck committed Aug 20, 2022
    Copy the full SHA
    fb9d181 View commit details
    Browse the repository at this point in the history

Commits on Oct 24, 2022

  1. Use add by 64 rather than xor.

    Use swap bytes rather than shift.
    
    Signed-off-by: Tom Kaitchuck <Tom.Kaitchuck@gmail.com>
    tkaitchuck committed Oct 24, 2022
    Copy the full SHA
    07f3641 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    a8ee7b5 View commit details
    Browse the repository at this point in the history

Commits on Oct 25, 2022

  1. Use psudo-folded-multiply to simplify code

    Signed-off-by: Tom Kaitchuck <Tom.Kaitchuck@gmail.com>
    tkaitchuck committed Oct 25, 2022
    Copy the full SHA
    ed38252 View commit details
    Browse the repository at this point in the history
  2. Cleanup (cargo fmt)

    Signed-off-by: Tom Kaitchuck <Tom.Kaitchuck@gmail.com>
    tkaitchuck committed Oct 25, 2022
    Copy the full SHA
    bd1aee7 View commit details
    Browse the repository at this point in the history