Skip to content

Large aperture query#42

Open
segasai wants to merge 2 commits into
masterfrom
large_aperture_query
Open

Large aperture query#42
segasai wants to merge 2 commits into
masterfrom
large_aperture_query

Conversation

@segasai
Copy link
Copy Markdown
Owner

@segasai segasai commented Mar 14, 2026

This is a PR that speeds up large aperture ellipse or circular queries, by actually checking what is the status of each face.
In practice the effect of this will be limited to skipping a few faces.

Given the way the sql is written currently*, there is no benefit from classifying face as fully covered vs partially covered.

  • Sql for radial queries is written as
    ((i1<i<i2) or (i3<i<i4)
    or
    (i5<i<i6) or (i7<i<i8)) AND distance()<..
    where i1..i2,i3..i4 correspond to fully covered cells, i5..i6,i7..i8 correspond to partially cells

@coveralls
Copy link
Copy Markdown

Coverage Status

coverage: 95.398% (+0.6%) from 94.767%
when pulling 2e2de42 on large_aperture_query
into d2fbc0e on master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants