# Newton + LineSearch in Hot Loop: Reduce allocations

**URL:** <https://discourse.julialang.org/t/newton-linesearch-in-hot-loop-reduce-allocations/122585>\
**Category:** Numerics\
**Tags:** newton-raphson, nonlinearsolve\
**Created:** [November 13, 2024, 1:58pm UTC](https://discourse.julialang.org/t/newton-linesearch-in-hot-loop-reduce-allocations/122585 "2024-11-13T13:58:29Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![DanDoe](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/dandoe/32/52717_2.png) [@DanDoe](https://discourse.julialang.org/u/DanDoe)\
**Post date:** [November 14, 2024, 8:08am UTC](https://discourse.julialang.org/t/newton-linesearch-in-hot-loop-reduce-allocations/122585/7 "2024-11-14T08:08:18Z")

</div>

Xref: [NonlinearSolve uses AD Jacobian even when I specify it analytically - #3 by DanDoe](https://discourse.julialang.org/t/nonlinearsolve-uses-ad-jacobian-even-when-i-specify-it-analytically/122608/3)

---

_[View the full topic](https://discourse.julialang.org/t/newton-linesearch-in-hot-loop-reduce-allocations/122585)._
