# C implementation of function being ~4 times faster even absence of allocs

**URL:** <https://discourse.julialang.org/t/c-implementation-of-function-being-4-times-faster-even-absence-of-allocs/126495>\
**Category:** Performance\
**Tags:** ccall\
**Created:** [March 3, 2025, 12:04pm UTC](https://discourse.julialang.org/t/c-implementation-of-function-being-4-times-faster-even-absence-of-allocs/126495 "2025-03-03T12:04:08Z")\
**Posts on this page:** 1\
**Showing post:** 13

<div class="post-metadata">

**Author:** ![jling](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jling/32/212909_2.png) [@jling](https://discourse.julialang.org/u/jling)\
**Post date:** [March 3, 2025, 1:21pm UTC](https://discourse.julialang.org/t/c-implementation-of-function-being-4-times-faster-even-absence-of-allocs/126495/13 "2025-03-03T13:21:13Z")

</div>

there’s a shorter way to write faster (but no NaN handling) `findmin` and `findmax`: [Faster `findmin` without LoopVectorization.jl - #3 by matthias314](https://discourse.julialang.org/t/faster-findmin-without-loopvectorization-jl/121742/3)

---

_[View the full topic](https://discourse.julialang.org/t/c-implementation-of-function-being-4-times-faster-even-absence-of-allocs/126495)._
