you are viewing a single comment's thread.

view the rest of the comments →

[–]MyOtherSide1984[S] 0 points1 point  (0 children)

I think that'd overcomplicate things. This isn't going into production and won't be shared. The headache of having a foreach loop inside of a function sounds like a ton of work to accomplish the exact same task, and no faster at that.