performance improvement: avoid calling getDataItem multiple times for same row
more performance improvement
minimize getDataLength() calls
Merge remote-tracking branch 'upstream/master'
back out for loop changes
Merge pull request #638 from kzhdev/master

Performance Improvement: Avoid calling getDataItem multiple time for the same row.