# 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:** 24

<div class="post-metadata">

**Author:** ![mcabbott](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mcabbott/32/6603_2.png) [@mcabbott](https://discourse.julialang.org/u/mcabbott)\
**Post date:** [January 6, 2023, 12:34am UTC](https://discourse.julialang.org/t/range-statistics/92518/24 "2023-01-06T00:34:48Z")

</div>

> [@DNF](#):
>
> Can you take a look at `Base.extrema` and see if you can tell what, if anything, is wrong with it, performance-wise?

One answer is [#45581](https://github.com/JuliaLang/julia/pull/45581). Which seems to be 3-4x faster than the functions above.

---

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