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

Triangulation.neighbor_triangulations() is much slower in current release #34

Open
mdemi opened this issue Jan 2, 2024 · 0 comments
Open

Comments

@mdemi
Copy link
Contributor

mdemi commented Jan 2, 2024

Triangulation.neighbor_triangulations() is much slower in recent releases compared to version 1.0.1. For example,

from cytools import *
import timeit

poly_gen = fetch_polytopes(lattice='N', h11=30, favorable=True)
poly = next(poly_gen)
tri = poly.triangulate()
code = """
tri.neighbor_triangulations()
"""
print(timeit.timeit(code, number=10, globals=globals()))

returns ~58 in version 1.0.12 compared to ~1.2 in version 1.0.1.

This is most likely due to #8 (commit 09d5ac2) where we upgraded TOPCOM.

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

1 participant