#1143: Optimise calls to CCTK_VarDataPtr --------------------------+------------------------------------------------- Reporter: eschnett | Owner: Type: enhancement | Status: reviewed_ok Priority: major | Milestone: Component: Cactus | Version: Resolution: | Keywords: --------------------------+------------------------------------------------- Changes (by sbrandt):
* status: review => reviewed_ok
Comment:
Changes the previous method of doing hundreds of string compares on each function invocation to finding and caching the variable index in a static variable.