transformers
99cdd438 - chore: speedup modular converter (~30%) (#45046)

Commit
222 days ago
chore: speedup modular converter (~30%) (#45046) * investigate modular conversion speedups * second optim / cache * Python-only fast path based on symtable plus a lightweight AST pass * replaced the imported-module analysis path in convert_modular_file() with a metadata-free mapper visit that tracks top-level context and source order directly, eliminating expensive LibCST ParentNodeProvider/PositionProvider passes while preserving byte-identical output * revert some speedups * removed the profiler and cleanup the converter touse both changes * make the change closer to main
Author
Parents
Loading