3 ms·
You can literally feel the compiler getting slower for each type you add. YSK: The compiler performance is IIRC exponential in the "depth" of types. And oh boy
by jvanderbot 1y ago
You can literally feel the compiler getting slower for each type you add.
YSK: The compiler performance is IIRC exponential in the "depth" of types. And oh boy does GraphQL love their nested types.
- deleted 1y ago[deleted]
- tukantje 1y agoUnironically why typescript is a perfect fit for graphql
- subarctic 1y agoActually exponential or quadratic?
- jvanderbot 1y agoThe rust devs said exponential for one step. Whether or not that step is required each compilation I don't recall. It was a git issue on rustc from a while back IIRC. Unfortunately I'm not at my computer to do a search for you.