Open
Description
Originally reported in Marwes/combine#284 . It appears that the changes made between version 3 and 4 in https://github.com/Marwes/combine . Made trait selection exponential in some cases. The main change that I would suspect causing this is that combine-3 had Input
as an associated type whereas combine-4 uses a type parameter.
The following minimized repo reproduces the slowdown, removing a few arguments from the choice!
macro makes it compile quickly https://github.com/Marwes/combine-slow-compile . The commit before master
contains a version with combine-3 which compiles instantaneously (after dependencies are compiled). (diff Marwes/combine-slow-compile@21cf38a)