petdance/scratch — Issue #555: refactor Parrot_mmd_sort_candidates
Author: petdance
Created: 2011-11-14 06:01:11+00:00
State: open
Labels: core, deprecation, Pri-normal, Sev-medium

The functions 'Parrot_mmd_get_cached_multi_sig', 'mmd_cvt_to_types' and 'mmd_distance', are only called from 'Parrot_mmd_sort_candidates' (in a chain). Those three monolithic functions need to be broken down into a set of smaller, saner, more maintainable static functions.
See http://rt.perl.org/rt3/Ticket/Display.html?id=60626 for the history.

Originally http://trac.parrot.org/parrot/ticket/907