Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cone search slower than similar region query. #4

Open
ctslater opened this issue Apr 3, 2019 · 2 comments
Open

Cone search slower than similar region query. #4

ctslater opened this issue Apr 3, 2019 · 2 comments

Comments

@ctslater
Copy link
Member

ctslater commented Apr 3, 2019

@ebellm reports that the cone search is much slower (~100x) than a region search for 10"-sized areas. I'm guessing this is due to the pandas_udf involved in the cone search; maybe this distance function can get moved into scala to speed up the search?

@zecevicp
Copy link
Collaborator

zecevicp commented Apr 19, 2019

I'll look into this.

@ctslater
Copy link
Member Author

I've been unable to recreate this, using either very big or very small regions. It's true that very small searches are not very efficient (they take similar time as much larger areas), but both cone and region seem to be similarly slow in that regime (in the case of ZTF select * as a worst case scenario, several minutes).

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

No branches or pull requests

2 participants