Re: [Ironpython-users] PythonTuple.MakeTuple

2015-08-24 Thread Markus Schaber
Hi, Von: Slide > Can anyone tell me why this method is internal?! My educated guess is that it uses the items array by value without copying it, while all public ways to construct the tuple actually copy the sequence you pass. Making that method public would allow users to create a tuple which

[Ironpython-users] Why is IP 3X slower than python 2.7?

2015-08-24 Thread John Trinder
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 thi

Re: [Ironpython-users] Why is IP 3X slower than python 2.7?

2015-08-24 Thread Vernon D. Cole
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 M