-
Notifications
You must be signed in to change notification settings - Fork 432
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
seq: use Floyd's combination algorithm to sample indices #479
Commits on Jul 30, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 647371e - Browse repository at this point
Copy the full SHA 647371eView commit details -
sample_indices: refactor; switch _inplaces to u32 only
The sample_indices_inplace algorithm is inappropriate for large numbers
Configuration menu - View commit details
-
Copy full SHA for 28d4949 - Browse repository at this point
Copy the full SHA 28d4949View commit details -
Configuration menu - View commit details
-
Copy full SHA for 949833d - Browse repository at this point
Copy the full SHA 949833dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2f5a03a - Browse repository at this point
Copy the full SHA 2f5a03aView commit details -
Configuration menu - View commit details
-
Copy full SHA for d4da64e - Browse repository at this point
Copy the full SHA d4da64eView commit details -
sample_indices: update selection heuristics
Update with new benchmark data from `u32` impls of Floyd's and cached algorithms (inplace alg already used benchmarks from `u32` impl). Update Floyd's with a balanced model adequate for both shuffled and unshuffled versions.
Configuration menu - View commit details
-
Copy full SHA for 98889f2 - Browse repository at this point
Copy the full SHA 98889f2View commit details -
sample_indices: use f32 in heuristics and add short-cut
Motivation: don't have to worry about overflow whichever index type is used. Appears to slightly improve some benchmarks, no affect on others.
Configuration menu - View commit details
-
Copy full SHA for c95f896 - Browse repository at this point
Copy the full SHA c95f896View commit details -
sample_indices: abstract over return type
This is to allow use of u32 or usize internally
Configuration menu - View commit details
-
Copy full SHA for 59d0823 - Browse repository at this point
Copy the full SHA 59d0823View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5fc1da8 - Browse repository at this point
Copy the full SHA 5fc1da8View commit details -
Configuration menu - View commit details
-
Copy full SHA for d624e84 - Browse repository at this point
Copy the full SHA d624e84View commit details -
Configuration menu - View commit details
-
Copy full SHA for 91f0af2 - Browse repository at this point
Copy the full SHA 91f0af2View commit details -
Configuration menu - View commit details
-
Copy full SHA for fb64cf2 - Browse repository at this point
Copy the full SHA fb64cf2View commit details -
sample_indices: update model parameters
This accounts for the "cache" method being replaced by rejection sampling and now using usize again.
Configuration menu - View commit details
-
Copy full SHA for 805022c - Browse repository at this point
Copy the full SHA 805022cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 19897e5 - Browse repository at this point
Copy the full SHA 19897e5View commit details