On Monday, December 11, 2017 at 10:11:33 AM UTC-6, Edward K. Ream wrote:
> The only thing that matters now is...checking function calls against
their signatures.
Recent revs do this with straightforward code. Here are the statistics
from checking all of Leo's core files:
78 files in 3.39 sec.
assignments: 2973
calls: 13871
check_signature: 2085
classes: 406
defs: 5613
resolve: 17035
resolve_call: 13871
resolve_chain: 12806
resolve_ivar: 10944
sig_infer_ok: 7 # inferred matches with known names
sig_ok: 1143 # exact match
sig_unknown: 942 # mismatches involving unknown names
The last three stats are for the signature checks. They are a bit
underwhelming because not many inferences actually happen. Otoh, the
inferences are good enough to catch the original tricky bug.
> I'll also check the contents of symbol tables.
Still on the agenda. I'll also study the unknown signature case a bit
further.
*Summary*
I feel a bit let down by the results. It's time for a break.
Otoh, the infrastructure is simple and good. Speed is good enough. The new
Stats class is much more clever than before.
Edward
--
You received this message because you are subscribed to the Google Groups
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.