Closed dyoo closed 13 years ago
If a function return only accepts a single value, maybe we can get away with label.mvr being undefined. Then the call to mvr will end up looking like (label.mvr||RI.si_values_expected_1) This only shows up in about four places, and would allow me to avoid assembling a lot.
Done. Darn, it didn't reduce as much code as I had hoped. The optimization does make the code a bit more complex. The optimization should be easy to rip out if it turns out to be too complex to maintain.
I can reduce a LOT of function tests here to translate to a single block.