Questioning Performance Impact of Code Implementation

Does doing something like this make sense and or have any performance losses?
Was this page helpful?