Mercurial > repos > public > sbplib_julia
view TODO.txt @ 129:1aaeb46ba5f4 cell_based_test
Improve efficiency of apply by the following:
- Remove divisions in interior loop by storing and multiplying by the reciprocal of grid spacing instead.
- Add @inline to apply(::Laplace
- Remove initialization of w = 0 in apply(::Stencil) by manually unrolling first iteration of the loop.
author | Vidar Stiernström <vidar.stiernstrom@it.uu.se> |
---|---|
date | Thu, 14 Feb 2019 16:25:22 +0100 |
parents | 8e52a66225d0 |
children | e0c8f5cf3a3f |
line wrap: on
line source
# TODO Kolla att vi har @inbounds och @propagate_inbounds på rätt ställen Kolla att vi gör boundschecks överallt och att de är markerade med @boundscheck Kolla att vi har @inline på rätt ställen Ändra namn på variabler och funktioner så att det följer style-guide Profilera Konvertera till paket Skriv tester