Community
Participate
Working Groups
This bug is for general code optimizations for this iteration.
package acme.bugs; library tim0001 function n() returns(int) if (getArguments() == null) return (0); else return (getArguments().getInt("cc", 1)); end end function getArguments() returns(tim0001h) return (new tim0001h); end end package acme.bugs; handler tim0001h function getInt(a string in, i int in) returns(int) return (0); end end Produces unnecessary temporary variables.
Are we targeting these changes for .8 Final or for a future milestone? I am thinking 'Future' at this point, based on the fact that this is the last week of SVT for .8.
Jeff, I think this is the item you brought up in the status meeting. If you have 100% regression tested these changes, then they can go into the build today (or are they already in?). If you are expecting SVT to cover the testing, then it is too late. In that case, don't commit the code, and set the target for Future.
This defect it to covert general optimizations. Part of this was implemented in 080 and part will be in the next release. The part in 080 was to use less temporary variables when invoking functions that did not need them, based on the parameter type of in/inout/out etc. Prior to this fix, some expressions that invoked functions would get temporary variables being used, instead of being able to directly invoke the function.
changing from defect to enhancement.
Setting the target milestone to Future for bugs that won't be addressed in 0.8.2.