This repository was archived by the owner on Jun 1, 2023. It is now read-only.
This repository was archived by the owner on Jun 1, 2023. It is now read-only.
mro: switch from dfs to c3 as default #209
Open
Description
The default MRO needs to switch from the old DFS (depth-first-search) to the
recommended and perl6/Moose C3 algorithm, which was previously optional.
All object systems based on inheritence need to use C3 to avoid the diamond
problem. And this change speeds it up, avoiding run-time loading of
ext/mro
, and avoids having the old dfs in memory.
If it's not possible to fix all the internal and cpan modules, just use C3 for the new classes.