[Ironpython-users] IronPython, Daily Digest 5/1/2013

CodePlex no_reply at codeplex.com
Thu May 2 09:19:14 CEST 2013


Hi ironpython,

Here's your Daily Digest of new issues for project "IronPython".

In today's digest:ISSUES

1. [New issue] hashlib update really slow
2. [New issue] Memory leak - if script imports library

----------------------------------------------

ISSUES

1. [New issue] hashlib update really slow
http://ironpython.codeplex.com/workitem/34022
User pingy has proposed the issue:

"Compared to c python, its really slow for a big file

Code:
    import hashlib
    hashmethod = hashlib.md5()
    fobj = open('BIGFILE', 'rUb') #a hefty 100MB will do
    chunk = 8192 #tried smaller and larger chunk, still slow
    readchunk = lambda: fobj.read(chunk)
    for chunk in iter(readchunk, b''): 
        hashmethod.update(chunk)
    fobj.close()


Version:

IronPython 2.7.3 (2.7.0.40) on .NET 4.0.30319.17929 (32-bit)

Thanks"-----------------

2. [New issue] Memory leak - if script imports library
http://ironpython.codeplex.com/workitem/34023
User Roman456 has proposed the issue:

"When I'm importing a module with import and then reloading it with reload, it seems to leave the whole module into memory. Also is happend when unloading script, if he imported any modules with import.

Just importing * from System.Windows.Forms and then re-loading script causes huge memory leak. Script i tried doesn't do anything except importing clr types.

GC does not help anything, even if i call Collect() with Forced option between loading and reloading script.

Check this: http://ironpython.codeplex.com/workitem/33650. This problem is still actual. Will it be fixed?"
----------------------------------------------



----------------------------------------------
You are receiving this email because you subscribed to notifications on CodePlex.

To report a bug, request a feature, or add a comment, visit IronPython Issue Tracker. You can unsubscribe or change your issue notification settings on CodePlex.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20130502/597b21fa/attachment.html>


More information about the Ironpython-users mailing list