Commit 7a7477f
committed
feat: harden encode and merge with iterative stack-safe traversal
Refactors encode and Utils.merge to iterative traversal for deep-input safety and removes recursion-limit capping semantics for EncodeOptions.max_depth (None is unbounded, explicit limits enforced directly). Also includes encode hot-path optimizations and merge compatibility adjustments discovered during review.1 parent 560c47f commit 7a7477f
3 files changed
Lines changed: 652 additions & 355 deletions
0 commit comments