Re: Is SCATTER slower than just assigning/using variables?
On Aug 3, 2007, at 12:28 AM, MB Software Solutions wrote: > is SCATTER something that's usually slow? Perhaps if > I only wanted a few properties out of a cursor record, I'd be > better to > just assign them to variables instead of using the easy SCATTER > method? Plain SCATTER *is* just assigning the values to variables - I can't imagine that there would be any difference at all; certainly none that would be slower. SCATTER NAME, OTOH, creates an object with those values, so while that shouldn't be particularly slow, it is at least a different process and could have an effect. Of course, there's only one way to find out - test it in real-world conditions. -- Ed Leafe -- http://leafe.com -- http://dabodev.com ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED] ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Re: Is SCATTER slower than just assigning/using variables?
Event Tracking is very cool for finding bottlenecks. I seem to remember scatter being slower than assigning to variables...but I could be wrong. I haven't used it much lately... MB Software Solutions wrote: > (VFP9SP1) > > I've got a "slow" process that I'm trying to speed up. There are > several SCATTERs. I admit that I've not yet run the eventtracking and > coverage profiler over these areas but wanted to throw this question out > in the meanwhile: is SCATTER something that's usually slow? Perhaps if > I only wanted a few properties out of a cursor record, I'd be better to > just assign them to variables instead of using the easy SCATTER method? > > tia, > --Michael > > ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED] ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Is SCATTER slower than just assigning/using variables?
(VFP9SP1) I've got a "slow" process that I'm trying to speed up. There are several SCATTERs. I admit that I've not yet run the eventtracking and coverage profiler over these areas but wanted to throw this question out in the meanwhile: is SCATTER something that's usually slow? Perhaps if I only wanted a few properties out of a cursor record, I'd be better to just assign them to variables instead of using the easy SCATTER method? tia, --Michael -- Michael J. Babcock, MCP MB Software Solutions, LLC http://mbsoftwaresolutions.com http://fabmate.com "Work smarter, not harder, with MBSS custom software solutions!" ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED] ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.