Nice! I tend to eschew RAISE and LOWER as they can cause really bummer problems if you forget to LOWER before stuffing back into a record and testing doesn't find it, and then it hits the live account and all hell breaks loose. But for stuff that doesn't go back into a record, that's pretty cool....
-----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Gregor Scott Sent: Wednesday, March 02, 2011 8:13 PM To: U2 Users List Subject: Re: [U2] Is this worth rewriting? A suggestion: Raise the @VM to @AM to improve dynamic array performance. Attribute lookups are way faster than value lookups, and you have already extracted the data to a new variable MONTHLY.USAGE: CM = MONTH + LY.CNT P12.101 = RAISE(PARMS(12)<101>) P12.133 = RAISE(PARMS(12)<133>) P12.134 = RAISE(PARMS(12)<134>) P7.100 = RAISE(PARMS(7)<100>) P7.101 = RAISE(PARMS(7)<101>) P7.102 = RAISE(PARMS(7)<102>) <snip> _______________________________________________ U2-Users mailing list [email protected] http://listserver.u2ug.org/mailman/listinfo/u2-users
