On Thursday 07 May 2009 04:28:42 pm Ed Leafe wrote:
> On May 7, 2009, at 6:21 PM, johnf wrote:
> > My DataSet is 1500+ records. And I think it is checking every record.
>
> First, a 1500 record data set isn't that large. And I'd like to know
> why you "think" this is happening.
Because the following section of code in dBizobj.py takes ~40 seconds to
complete:
for key, cursor in cursors.iteritems():
self._CurrentCursor = key
changedRows = self.getChangedRows(includeNewUnchanged)
for row in sorted(changedRows, reverse=True):
self._moveToRowNum(row)
try:
func(*args, **kwargs)
except StandardError, e:
# Reset things and bail
dabo.errorLog.write(_("Error in
scanChangedRows: %s") % e)
self._CurrentCursor =
old_currentCursorKey
self._positionUsingPK(old_pk)
raise
--
John Fabiani
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message:
http://leafe.com/archives/byMID/[email protected]