Should I upgrade a weapon/armour before prestigeing it?

//ads -- adsterra.com -- native banner
?>
When I can 'prestige' a weapon, it says:
"This will destroy your existing [pants] and greatly increase the cost of future upgrades"
Does this mean I should upgrade them as much as possible beforehand, or do the upgrades not carry over?
Pictures about "Should I upgrade a weapon/armour before prestigeing it?"



[Destiny 2] Is it worth it to reroll armor from Eva for good stat rolls?
Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.
Images: Nurlan Tortbayev, Vlad Deep, Ron Lach, Ron Lach