Only create an array with default options if we have default options
#32326

oniofchaos wants to merge q-centrix:perf-improvement-translation-helper-default-array into rails:master

We do not currently have an analysis of these two commits