Functions from inside -generateElectron.py- were rewritten as a composition of two functions, one of which can be memoized using the -AccumulatorCache- decorator.
@tbold @rbielski ATR-23200