zhangfengcdt commented on PR #2831:
URL: https://github.com/apache/sedona/pull/2831#issuecomment-4268829148

   > That sounds good to me! I the work I did in C++ was mostly to expose all 
of the possible optimizations but I haven't tuned them yet (and the tuning is 
probably much different in Java than it is in C++). The tuning/extreme 
optimization is also much better done in the presence of integration testing 
against BigQuery/PostGIS (which is in the works on the SedonaDB side). The 
point optimizations are nice because they truly are easy outs (and 
point/polygon is I think common).
   > 
   > One of the things that may have affected my initial implementation is that 
SedonaDB benchmarks mostly have one Scalar argument (where the cost of 
computing the covering is amortized over many more rows). I didn't implement a 
S2LatLngRect bound comparison but I think computing that might be cheaper.
   
   Yes, one scalar case is a very popular case and the ShapeIndex cache and/or 
covering will help a lot in performance. The join also benefit from the cache 
and covering. 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to