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

Faster geometry module #11

Open
HugoFara opened this issue Jun 22, 2023 · 0 comments
Open

Faster geometry module #11

HugoFara opened this issue Jun 22, 2023 · 0 comments
Labels
code issue Code is not wrong, but something is off enhancement New feature or request

Comments

@HugoFara
Copy link
Owner

The project relies on Euclidean geometry, and the code is home-made in pure Python. I think I can make it faster, with some caveats:

  • We are always in 2D space, so general libraries such as NumPy are in fact slower to solve our issue (they allocate too much memory).
  • Bigger Euclidean geometry library such as geometer are better than Numpy, but still slow (still N dimensional)
  • Analytical libraries as SymPy are unpractical. They perform better with the paradigm "run once, get data".
  • I want to give a try to shapely. It is a Python wrapper for a GEOS (C/C++), only in the Cartesian space.
  • I'm open to suggestions!
@HugoFara HugoFara added enhancement New feature or request code issue Code is not wrong, but something is off labels Jun 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
code issue Code is not wrong, but something is off enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant