- On M1 Max 64GB it takes north of 40 minutes to compile this code. M3 Pro: 25 minutes.
- The culprit is the
Option<String>
type. If you replace it with justString
(andNone
withString::from("some unique string")
) it compiles in seconds. degenerator.py
generates code forbug.rs
so you can play with number of fields, etc.