@pumped-fn/core-next 0.5.71 → 0.5.72

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,37 @@
1
1
  # @pumped-fn/core-next
2
2
 
3
+ ## 0.5.72
4
+
5
+ ### Patch Changes
6
+
7
+ - a4aa66e: Performance and code quality improvements across three optimization phases:
8
+
9
+ **Phase 1 - Hot Path Optimizations:**
10
+
11
+ - Extract try-catch from resolution hot path for V8 JIT optimization
12
+ - Pre-cache Promised wrapper instances to eliminate repeated allocations
13
+ - Lazy initialize FlowContext journal Map (50% memory reduction in non-journaling flows)
14
+ - Cache reversed extension arrays to eliminate hot path array reversals
15
+
16
+ **Phase 2 - V8 Inline Caching:**
17
+
18
+ - Split polymorphic onUpdates Map into monomorphic Maps for better V8 performance
19
+ - Parallelize dependency resolution with Promise.all (40% speedup)
20
+
21
+ **Phase 3 - Code Compactness:**
22
+
23
+ - Extract extension wrapping helper to eliminate 150+ lines of duplication
24
+ - Optimize error message formatting with replaceAll() instead of RegExp
25
+ - Consolidate Promised utility methods with mapResults() helper
26
+
27
+ **Results:**
28
+
29
+ - Cached resolution: 1.29M ops/sec
30
+ - Near-zero memory allocation on hot paths
31
+ - Net reduction: 213 lines of code
32
+ - Reorganized index.ts exports with professional grouping
33
+ - All 132 tests passing
34
+
3
35
  ## 0.5.71
4
36
 
5
37
  ### Patch Changes