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

Move sort_small_general to standalone function #36

Merged

Commits on Feb 27, 2024

  1. Move sort_small_general to standalone function

    This greatly improves release compile times.
    Before:
    Benchmark 1: cargo build --release
        Time (mean ± σ):      9.065 s ±  0.080 s    [User: 22.421 s, System: 0.309 s]
        Range (min … max):    8.998 s …  9.154 s    3 runs
    After:
    Benchmark 1: cargo build --release
        Time (mean ± σ):      6.594 s ±  0.043 s    [User: 20.360 s, System: 0.264 s]
        Range (min … max):    6.562 s …  6.644 s    3 runs
    
    While avoiding significant binary-size regressions. This split-up will
    be necessary anyway when sharing this function with ipnsort.
    Voultapher committed Feb 27, 2024
    Configuration menu
    Copy the full SHA
    1fc2d51 View commit details
    Browse the repository at this point in the history