Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/shapely/shapely
/ time_tree_create
Method
time_tree_create
benchmarks/benchmarks.py:242–244 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
240
self.grid_points = shapely.points(grid_coords + 0.5)
241
242
def
time_tree_create(self):
243
tree = shapely.STRtree(self.polygons)
244
tree.query(shapely.points(0, 0))
245
246
def
time_tree_query(self):
247
self.tree.query(self.polygons)
Callers
nothing calls this directly
Calls
1
query
Method · 0.95
Tested by
no test coverage detected