petdance/scratch — Issue #1012: refactor Parrot_mmd_sort_candidates
Author: petdance
Created: 2011-11-01 05:38:48+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