metanorma / metanorma-plugin-lutaml

Metanorma plugin: access LutaML objects from within a Metanorma document
BSD 2-Clause "Simplified" License
1 stars 1 forks source link

Excesive compilation time for certain schemas.yaml files #106

Open manuelfuenmayor opened 6 months ago

manuelfuenmayor commented 6 months ago

Certain documents containing schemas.yaml take excesive compilation time. No matter how short the document is. If I remove the line :lutaml-express-index: schemas; schemas.yaml; or delete the schemas.yaml file, the problem goes away.

To replicate the issue, try to compile ISO 10303-403. Other documents, like ISO 10303-44, also containing schema.yaml, compile just fine.

ronaldtse commented 6 months ago

I believe this is a performance issue due to the length of the schemas. Will try it out.