Performance is comparable to CPython - much faster for some things
(where it can take advantage of the JIT compiler in the underlying
platform), but slower for other things (particularly the built in
container types where a lot of work has been done on optimising the
CPython types).
IronPython编译为Microsoft中间语言(MSIL),它类似于由CPython生成和解释的字节码。公共语言运行库(CLR)是执行MSIL的虚拟机。它有一个实时(just-in-time,JIT)编译器,可以将MSIL转换为本机代码。在
CPython没有JIT。The IronPython wiki关于性能有这样的说法:
相关问题 更多 >
编程相关推荐