Compare performance "Assign" with "Invoke Code"

Hi i want to iterate over a large data set with a regex.

So now i ask myself which method is more performant use Assign or use Invoke Code.
Any Ideas?

and should i use "string Array " or “List” ?
for performance

any suggestions?