# Anonymous Function forces repeated runtime dispatch/type inference on function consuming captured variable

**URL:** https://discourse.julialang.org/t/anonymous-function-forces-repeated-runtime-dispatch-type-inference-on-function-consuming-captured-variable/139659
**Category:** General Usage
**Tags:** forwarddiff, currying, anonymous-function, runtime-dispatch
**Created:** [September 25, 2026, 2:46am UTC](https://discourse.julialang.org/t/anonymous-function-forces-repeated-runtime-dispatch-type-inference-on-function-consuming-captured-variable/139659 "2026-09-25T02:46:25Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![pekuntzpuglia](https://avatars.discourse-cdn.com/v4/letter/p/3d9bf3/32.png) [@pekuntzpuglia](https://discourse.julialang.org/u/pekuntzpuglia)
#### Post date: [September 25, 2026, 2:46am UTC](https://discourse.julialang.org/t/anonymous-function-forces-repeated-runtime-dispatch-type-inference-on-function-consuming-captured-variable/139659/1 "2026-09-25T02:46:25Z")

</div>

(topic deleted by author)
