File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -71,8 +71,9 @@ julia> r
71
71
75
72
72
```
73
73
74
- This has the advantage to require ` O(1) ` memory, while reservoir sample techniques requires ` O(k) ` memory where ` k `
75
- is the number of elements in the sample.
74
+ The advantage of ` StreamSample ` iterators in respect to ` ReservoirSample ` is that they require ` O(1) `
75
+ memory if not collected, while reservoir techniques require ` O(k) ` memory where ` k ` is the number
76
+ of elements in the sample.
76
77
77
- Consult the [ API page] ( https://juliadynamics.github.io/StreamSampling.jl/stable/api ) for more information about the
78
- package interface.
78
+ Consult the [ API page] ( https://juliadynamics.github.io/StreamSampling.jl/stable/api ) for more information
79
+ about the package interface.
You can’t perform that action at this time.
0 commit comments