Best Practices: Should pre-allocated work be passed to subroutines?

Make it a class and put the work arrays in the class and they get allocated when you initialize the class. This subroutine is a class method. The user shouldn’t have to see the work arrays.

2 Likes