LMFDB / lmfdb

L-Functions and Modular Forms Database
Other
252 stars 200 forks source link

CMF newspace page times out on load #6215

Closed davidlowryduda closed 3 weeks ago

davidlowryduda commented 4 weeks ago

I haven't looked into why, but the page https://www.lmfdb.org/ModularForm/GL2/Q/holomorphic/3312/1/c/ seems to time out.

AndrewVSutherland commented 4 weeks ago

This is very strange (similar newspace pages like https://www.lmfdb.org/ModularForm/GL2/Q/holomorphic/3315/1/b/ load without trouble), and this also happens on beta.

AndrewVSutherland commented 3 weeks ago

This is caused by trying to compute dimensions of weight 1 spaces on the fly when computing the decomposition of the oldspace, which is very slow. PR #6218 fixes this by reverting to a database lookup in weight 1 (for weight > 1 we continue to avoid the database lookup by using dimension formulas, which is faster).