Closed scyzoryck closed 1 year ago
PoC of fixing circular references. Any feedback will be appreciated. It contains braking changes.
UPGRADING.md
+---------------------+----------+ | benchmark | mem_peak | +---------------------+----------+ | XmlMutlipleRunBench | 38.158mb | | XmlSingleRunBench | 3.794mb | +---------------------+----------+
classDiagram class Context { +VisitorInterface $visitor +GraphNavigatorInterface $navigator } class GraphNavigator { +VisitorInterface $visitor +Context $context } class AbstractVisitor { +GraphNavigatorInterface $navigator } GraphNavigator ..> Context AbstractVisitor ..> Context AbstractVisitor ..> GraphNavigator Context ..> GraphNavigator GraphNavigator ..> AbstractVisitor
+---------------------+----------+ | benchmark | mem_peak | +---------------------+----------+ | XmlMutlipleRunBench | 3.274mb | | XmlSingleRunBench | 3.272mb | +---------------------+----------+
classDiagram class Context { +VisitorInterface $visitor } class GraphNavigator { +Context $context } class AbstractVisitor AbstractVisitor ..> Context Context ..> GraphNavigator
Closed for now in favor of https://github.com/schmittjoh/serializer/pull/1473
PoC of fixing circular references. Any feedback will be appreciated. It contains braking changes.
To do:
UPGRADING.md
Before
After