Skip to content
This repository has been archived by the owner on Jan 22, 2025. It is now read-only.

install mdbook and svgbob_cli #4128

Merged
merged 1 commit into from
May 2, 2019

Conversation

rob-solana
Copy link
Contributor

Problem

other cargo installs

Summary of Changes

move them to docker

CC #4113

@rob-solana rob-solana added the noCI Suppress CI on this Pull Request label May 2, 2019
@rob-solana rob-solana requested review from danpaul000 and mvines May 2, 2019 22:19
@rob-solana rob-solana merged commit 059755f into solana-labs:master May 2, 2019
@rob-solana rob-solana deleted the more-cargo-install branch May 2, 2019 22:32
behzadnouri added a commit to behzadnouri/solana that referenced this pull request Dec 16, 2024
…na-labs#4128)

Changing the offset definition to:

    let offset = (index - 1) & BIT_MASK

will avoid all the

    if offset > 0 { /* ... */ }

branches and massively simplifies the implementation.
It also improves performance in the benchmarks:

On master:

    test bench_weighted_shuffle_collect ... bench:     150,789.57 ns/iter (+/- 2,123.07)
    test bench_weighted_shuffle_new     ... bench:      33,039.23 ns/iter (+/- 1,696.02)
    test bench_weighted_shuffle_shuffle ... bench:     140,193.88 ns/iter (+/- 2,739.95)

On the branch:

    test bench_weighted_shuffle_collect ... bench:     145,451.45 ns/iter (+/- 1,307.71)
    test bench_weighted_shuffle_new     ... bench:      30,309.99 ns/iter (+/- 3,577.51)
    test bench_weighted_shuffle_shuffle ... bench:     136,634.04 ns/iter (+/- 3,124.60)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
noCI Suppress CI on this Pull Request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants