4 ms·
Does Crystal have YAML.load_file like Ruby does? Loading a YAML file only requires one method call in Ruby.
by brobinson 9y ago
Does Crystal have YAML.load_file like Ruby does? Loading a YAML file only requires one method call in Ruby.
- ricardobeat 9y agoCrystal does async IO underneath, so this approach allows the use of a streaming parser (you're just passing it a file handle, not the contents).
- brobinson 9y agoCool, thanks!