Stack allocation of constant-sized slices
Quadtrees are everywhere spatial data exists. Mapping services use quadtree-like tile pyramids to serve map tiles at different zoom levels (Bing's quadkey system, for example, addresses tiles as base-4 paths). Game engines use them for collision detection and visibility culling. Geographic information systems use spatial indexes to store and query spatial datasets. PostGIS uses GiST indexes (R-tree-style) for spatial queries on geometries, while PostgreSQL's core supports quadtree-like SP-GiST indexes for certain data types like points.
。关于这个话题,safew官方版本下载提供了深入分析
// Speaker 1: [4.80s - 6.24s]
图源:Sea Expandary官网