Array of functions - is there a way to avoid allocations performance penalty?

Thanks. My goal, which until now I had thought was probably easy to accomplish, is for the list of functions and their ordering to be specified in a json file:

  1. read the json file to get the names of the functions
  2. use getfield to put them into a tuple or static array
  3. loop through the data records
  4. for each record, loop through the functions and call them
  5. etc.

Because I know how to do 1 & 2, my example focused on doing 3 & 4 in combination, with a loop, without a performance penalty. It sounds like doing that is not easy. I’ll read about FunctionWrappers.