rethinkpriorities / squigglepy

Squiggle programming language for intuitive probabilistic estimation features in Python
MIT License
65 stars 8 forks source link

improve `import squigglepy as sq` runtime #35

Closed peterhurford closed 1 year ago

peterhurford commented 1 year ago

Currently takes 0.5sec to load

Could improve by having some imports only load dynamically.

Could also improve by not loading all of scipy.

peterhurford commented 1 year ago

One part https://github.com/rethinkpriorities/squigglepy/pull/34 though it doesn't actually help much

agucova commented 1 year ago

Fixed by https://github.com/rethinkpriorities/squigglepy/pull/36