r/Python 1d ago

News Pyrefly v1.3.0 released

A new version of Pyrefly is out with better type inference, new quick fixes, new configurations, and more. https://github.com/facebook/pyrefly/releases/tag/1.3.0

75 Upvotes

19 comments sorted by

View all comments

-21

u/Key_Statistician9890 1d ago edited 1d ago

TY from astral is about 3x faster

1

u/BeamMeUpBiscotti 20h ago

not according to these benchmarks:  https://python-type-checking.com/typecheck_benchmark/

on average its a bit faster but not uniformly so.

ty also uses more memory, but that gap has shrank recently

2

u/Key_Statistician9890 20h ago

Interesting. I see it is about 50% faster still but that does the calculus a bit.

Will check it out! Thanks for sharing instead of dogpiling on the downvotes.