UnownHash / Fletchling

10 stars 3 forks source link

Importer - optimize contained #19

Closed lenisko closed 6 months ago

lenisko commented 7 months ago

Run a contanied check only within the same area name. Otherwise, the end of great amount of areas will be heavy as hell :)

comstud commented 7 months ago

The importer only imports 1 area at time, so it only does contains checking by the area it is processing at the time.

But... something is bad. I think that it may possibly be computing the center (with the new label point stuff -- maybe particularly with the multipoly thing I added to it).

Will need to profile, maybe.

comstud commented 6 months ago

I'm gonna go ahead and close this. The overlap (contained) works quite different now and uses the DB query from nestcollector. This seems faster while also supporting a max overlap percent.