# Range (statistics)

**URL:** <https://discourse.julialang.org/t/range-statistics/92518>\
**Category:** Statistics\
**Tags:** function\
**Created:** [January 4, 2023, 6:59pm UTC](https://discourse.julialang.org/t/range-statistics/92518 "2023-01-04T18:59:09Z")\
**Posts on this page:** 1\
**Showing post:** 13

<div class="post-metadata">

**Author:** ![DNF](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/dnf/32/10191_2.png) [@DNF](https://discourse.julialang.org/u/DNF)\
**Post date:** [January 5, 2023, 11:04pm UTC](https://discourse.julialang.org/t/range-statistics/92518/13 "2023-01-05T23:04:28Z")

</div>

Can you take a look at `Base.extrema` and see if you can tell what, if anything, is wrong with it, performance-wise?

Because I really think the right approach is to use `extrema` for this, and fix any problems there.

---

_[View the full topic](https://discourse.julialang.org/t/range-statistics/92518)._
