Improve #tag_option performance
#26254

badosu wants to merge badosu:improve-tag-option into rails:master

We do not currently have an analysis of these two commits