Skip to content

Commit

Permalink
Bump to 0.2.8 (#43)
Browse files Browse the repository at this point in the history
* Bump to 0.2.8

* Update README.md
  • Loading branch information
Tortar committed Apr 5, 2024
1 parent e50c9ab commit a207f54
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name = "IteratorSampling"
uuid = "ef79a3d2-ae9f-5cd2-ab61-e13847810a6e"
version = "0.2.7"
version = "0.2.8"

[deps]
DataStructures = "864edb3b-99cc-5e75-8d2d-829cb0a9cfe8"
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,12 @@ julia> @btime itsample($rng, $iter, 10^4; replace=true);
julia> @btime itsample($rng, $iter, 10^4; replace=false);
7.889 ms (2 allocations: 78.17 KiB)

julia> @btime itsample($rng, $iter, $wv, 10^4; replace=false);
20.281 ms (5 allocations: 234.61 KiB)

julia> @btime itsample($rng, $iter, $wv, 10^4; replace=true);
12.493 ms (15 allocations: 547.23 KiB)

julia> @btime itsample($rng, $iter, $wv, 10^4; replace=false);
20.281 ms (5 allocations: 234.61 KiB)

julia> @btime sample($rng, collect($iter), 10^4; replace=true);
137.932 ms (20 allocations: 146.91 MiB)

Expand Down

0 comments on commit a207f54

Please sign in to comment.