Replace the GroupingCollection instance in any application with GroupingCollection1 for the best performance.
1) Both the Groupings and the Summaries are done in O(n ) where n is flat data row-count.
2) Since i wanted the Summaries to be calculated per row rather than per cell, i changed the function signature.
myFunc1(summaryObj:SummaryObject,depth:int,current:Object, dataField:String, operation:String):Number
instead of myFunc(iterator:IViewCursor, dataField:String, operation:String):NumberHere is a sample summary function DIV and a working example (view-source enabled)
My application has had significant performance improvement using GC1. Hopefully someone out there finds this useful.