These are chat archives for dropbox/pyston
I think currently we sometimes generate megamorphic ICs for cases which I think we can avoid. E.g. this stupid example:
for v in (1, 1L, 1.0, "str", u"uni"): x = id(v)
We will generate a megamorphic IC for the
id runtime call because the arg type changes while I think we could avoid guarding on the arg type in some cases.
Do you guys think we could stop guarding arg classes if the dest function is the only version and has no source code?
__get__) to c slots (
inst = None) or if it is an instance binding on None