Kontxt Kontxt @kontxt
Hudson River Trading (HRT) developed a Python fork with lazy imports to reduce import overhead and improve runtime efficiency. Lazy imports defer module loading until needed, significantly speeding up script startup, notebook loading, and distributed computations. The article discusses technical challenges and solutions in migrating to lazy imports, benefits across teams, and HRT's commitment despite maintenance complexities. HRT aims for future upstream Python improvements for optional lazy imports.