Commit 42877b3
committed
fix(vortex-geo): cache MultiPolygon extension id via CachedId
`ExtVTable::id` interned the id with `ExtId::new_static` on every call,
tripping the `disallowed_methods` clippy lint added on the base branch
(#8617) since it grabs the interner lock per call. Match the `Point` and
`Polygon` types by caching the id in a `static CachedId`.
Signed-off-by: Nemo Yu <zyu379@wisc.edu>1 parent 790a0d7 commit 42877b3
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
70 | | - | |
| 70 | + | |
| 71 | + | |
71 | 72 | | |
72 | 73 | | |
73 | 74 | | |
| |||
238 | 239 | | |
239 | 240 | | |
240 | 241 | | |
241 | | - | |
242 | 242 | | |
243 | 243 | | |
244 | 244 | | |
| |||
0 commit comments