Our great sponsors
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
If you just want easy access to the min & max, then you really want a min-max-heap (see https://github.com/rust-lang/rust/issues/76250). Or at least a different form of tree structure where you have direct access to the node with the min, rather than the min being in a leaf node (O(log n) jumps away).
https://github.com/rust-lang/negative-impls-initiative might give a new way towards this -- if people have promised that a type is !Copy, as opposed to just not having set it yet, we have a bit more freedom in what we can allow.
RFC for anyone interested: https://github.com/rust-lang/rfcs/blob/master/text/2945-c-unwind-abi.md
I suggest http://wincompose.info/, or whatever the equivalent is for your platform 😀