[chuck-users] optimize memory usage when calling a large number of functions