[ET Trac] [Einstein Toolkit] #1143: Optimise calls to CCTK_VarDataPtr

Einstein Toolkit trac-noreply at einsteintoolkit.org
Wed Oct 24 16:42:33 CDT 2012


#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.

-- 
Ticket URL: <https://trac.einsteintoolkit.org/ticket/1143#comment:2>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit


More information about the Trac mailing list