> On compilation, freeze any cases that meet the School-II conditions > and have a trustworthy __hash__ method into a dictionary.
As long as the semantics are based on if-elif, you have to support if (optimizable) elif (has a side effect) elif (optimizable) elif (not optimizable) elif (optimizable) elif (has a side effect) elif (optimizable) where the four "optimizable" cases are actually in four separate dictionaries. -jJ _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com