|The stupid question is the question not asked|
Maybe a “better” question is: What, exactly, does “better” mean to you ... given this particular situation ... and why?
This, actually, is not a rhetorical question ...
On the one hand, we all are paid to make our customers” problems (and ours ...) “just go away.”
Yet, we must always add to that ... “for good.”
“We are professionals. (?) Do not try this at home.”
You have, so far, written two apparently-equivalent solutions to the same problem. If that problem will never, ever, re-appear (courtesy of The Marketing Department™...?) in some out-of-the-blue variation that now makes you, having spent X irrecoverable weeks of your life (successfully...?) “solving” the problem in the first way, now be flagellating yourself that you did not instead use the second ...
... “then, Pilgrim, you may count yourself Very Lucky.™ And, Very Rare.™”
Yet it does happen ... both ways. Heads. Tails. Use your best, most suspicious, most cynical skeptical judgment. And, good luck to ye.