Avoids recreating the arrays on the stack on every entry to the function and moves them to the ro section.