Travis Watkins wrote:
Never trust the program you're running to give you accurate time.
I thought (and think) that the measurements are sufficiently accurate, and the
differences sufficiently marked to support the speed claim. I also ran the test
with much longer cycles, checked the reported ti
On 4/26/05, Michael Spencer <[EMAIL PROTECTED]> wrote:
> IronPython runs this sieve function 20-30% faster than CPython
>
> def primes2(n):
> if n<2: return []
> s=range(1,n,2) # [1,3,5n | n-1]
> s[0] = 2
> len_s = len(s)
> for i in xrange(1,int(sqrt(n)/2)+1):
>
IronPython runs this sieve function 20-30% faster than CPython
def primes2(n):
if n<2: return []
s=range(1,n,2) # [1,3,5n | n-1]
s[0] = 2
len_s = len(s)
for i in xrange(1,int(sqrt(n)/2)+1):
m = s[i]
if m:
j=(m*m)/2
while j
return [
Perhaps (to at least keep the .NET way) a .config file instead of an
environment variable?
That file *could* specify one or more startup files, to maintain the Python
mystique.
From: [EMAIL PROTECTED] on behalf of Michael Spencer
Sent: Tue 4/26/2005 3:52 PM
To
Second feature request of the week:
I would like to save sys.path settings between interpreter sessions.
Is there a way to do this today?
If not, could there be an OS environment variable for this or, a startup.py file
loaded each time the interpreter starts?
Thanks
Michael
__
Jim Hugunin wrote:
Michael Spencer wrote:
Since reload is not available yet, what is the best workaround for re-
compiling
changed source for imported modules?
Execfile is a good option for many situations and was implemented to
make sure we had at least a partial reload story.
Thanks, that *is*
Michael Spencer wrote:
> Since reload is not available yet, what is the best workaround for re-
> compiling
> changed source for imported modules?
Execfile is a good option for many situations and was implemented to
make sure we had at least a partial reload story. Until we get great
IDE support,
Congrats and thanks for the 0.73 release
Since reload is not available yet, what is the best workaround for re-compiling
changed source for imported modules?
The exe/pdf files cannot be deleted
del sys.modules[...] followed by import ...
raises a System.IO.IOException
Until now, I have been resta
Out of curiosity, is there a feel for when 1.0 should be reached (excluding bug
fixes), or some other roadmap?
<>___
users-ironpython.com mailing list
users-ironpython.com@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.c
This is broken. Unfortunately, you should assume that in IronPython 0.7.3 you
can't override any methods from a CLS super type so that it will be seen from
the CLS side.
FYI - It is possible in IronPython 0.7.3 to override a very small set of
methods from a CLS super type in such a way that ot
Hello IronPython community,
Today we have released IronPython 0.7.3.
The main changes over the 0.7.2 release are:
* Operator overloading. Following code now works in IronPython:
...
x = Mapack.Matrix.Random(2,3)
y = Mapack.Matrix.Random(3,5)
x * y
* Empty construct
I've been working on a blog entry that tries to cover this in great
detail. Rather than go silent until I find time to complete that, I
thought I should chime in a little here.
When working with CLS libraries, IronPython tries first to ensure that
nothing is impossible and second to make intera
12 matches
Mail list logo