Details
-
New Feature
-
Status: Closed (View Workflow)
-
Minor
-
Resolution: Won't Do
-
1.2
-
None
Description
UDAF take significantly longer to process than built in functions – as much as 2x. Using a profiler, find the points that may be improved. Use of shared_ptr is one such. It turns out shared_ptr can get expensive in tight loops which we do with userData. I don't know if we can get rid of it here. More analysis is needed. Other optimizations need to be considered and perhaps extended to the entire aggregate system.