max_n 0.1.0

A utility function on iterators to find the maximum or minimum n values
Documentation
  • Coverage
  • 0%
    0 out of 12 items documented0 out of 9 items with examples
  • Size
  • Source code size: 9.75 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.34 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 10s Average build duration of successful builds.
  • all releases: 10s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • JonathanBrouwer/max_n
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • JonathanBrouwer

Max_N

This crate can compute the maximum or minimum k values of an iterator of size n in O(n * log k) time and O(k) space. It uses a fixed-size heap to do this.