fix(medusa): Optimize Cart totals calculation (#2372)

**What**

The existing totals calculations are extremely heavy and perform an enormous amount of duplicate work. The changes here remove large parts of the overhead and improves response times for cart endpoints up to 30x.
This commit is contained in:
Sebastian Rindom
2022-10-07 10:44:06 +02:00
committed by GitHub
parent 527c587d8f
commit 3d255302b0
45 changed files with 10970 additions and 8082 deletions

View File

@@ -0,0 +1,5 @@
---
"@medusajs/medusa": minor
---
Improve performance of cart total calculations