Skip to content
  • Robert Maynard's avatar
    Rework TryExecute to leverage perfect forwarding. · 68381d9f
    Robert Maynard authored
    By using perfect forwarding we can reduce not only the amount of TryExecute
    signatures, but we can enable the ability to pass temporary functors to
    TryExecute.
    
    At the same time we have optimized TryExecute by moving the string generation
    code into a single function that is compiled into the vtkm_cont library.
    
    The end result is that the vtkm_rendering library size has been reduced from
    12MB to 11MB, and we shave off about 5% of our build time.
    68381d9f