Currently, the function lowering code is written such that each lowering function checks the name and holder of the FunctionCall object, as well as whether all of the arguments are lowered. This is just not ideal, we should do that check once, and then dispatch to the correct lowering code if necessary. This avoids having to do the same checks over and over, and should yield a performance improvement.
Currently, the function lowering code is written such that each lowering function checks the name and holder of the
FunctionCall
object, as well as whether all of the arguments are lowered. This is just not ideal, we should do that check once, and then dispatch to the correct lowering code if necessary. This avoids having to do the same checks over and over, and should yield a performance improvement.