On some benchmarks, IronPython is faster than CPython. But, if you are running short scripts from the command line, IronPython is several seconds slower, because, as you said, it compiles to dotNET code, which is not cached for the next run. The speed difference depends on what you are doing.
On Mon, Aug 24, 2015 at 3:36 PM, John Trinder <trinderj...@talktalk.net> wrote: > I've been doing some work with python 2.7 having digressed from IronPython > to which I shall be returning. The thing I notice most is that python 2.7 > is roughly 3X faster at executing than IP. > > Why is this? > > I know python27 compiles scripts into 'C' code => .pyc files and that IP > does not do this. But even so, IP must compile native code into NET code > which should run only slightly slower than python27. > > Regards and thanks for a good NET implementation of python. > _______________________________________________ > Ironpython-users mailing list > Ironpython-users@python.org > https://mail.python.org/mailman/listinfo/ironpython-users >
_______________________________________________ Ironpython-users mailing list Ironpython-users@python.org https://mail.python.org/mailman/listinfo/ironpython-users