ohmtech-rdi / eurorack-blocks

Software to Hardware Prototyping for Eurorack using C++, Max/Gen~ or Faust
Other
309 stars 21 forks source link

Cache kicad pcb and sch parser output #549

Closed ohmtech-rdi closed 1 year ago

ohmtech-rdi commented 1 year ago

This PR optimizes the parsing of KiCad PCB and SCH files, as this is the bottle neck for various erbb operations. It does so by caching the result of parsing on disk, and invalidating that cache when needed (either the original file changed, or the parser itself changed).