Open CyberShadow opened 6 hours ago
import configy.read; struct Config { } void main() { parseConfigFileSimple!Config("config.yaml"); }
The above program takes 3.5 seconds to compile on a Threadripper 3960X with DMD, which seems more than what would be reasonable to expect.
Seems like most of it is coming from D-YAML... would it be perhaps possible to use D-YAML via an opaque interface so that the implementation isn't imported when compiling programs that use configy?
The above program takes 3.5 seconds to compile on a Threadripper 3960X with DMD, which seems more than what would be reasonable to expect.