[IronPython] IronPython 2.6 CodePlex Source Update

merllab at microsoft.com merllab at microsoft.com
Mon May 3 17:52:33 CEST 2010


This is an automated email letting you know that sources 
have recently been pushed out.  You can download these newer 
sources directly from http://ironpython.codeplex.com/SourceControl/changeset/view/65936.

ADDED SOURCES
	$/IronPython/IronPython_Main/Languages/IronPython/IronPython.Modules/mmap.cs
	$/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/SetStorage.cs
	$/IronPython/IronPython_Main/Languages/IronPython/Scripts/generate_set.py

MODIFIED SOURCES
	$/IronPython/IronPython_Main/Languages/IronPython/IronPython.Modules/mmap.cs
	$/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Set.cs
	$/IronPython/IronPython_Main/Languages/IronPython/IronPython/IronPython.csproj
	$/IronPython/IronPython_Main/Languages/IronPython/IronPython.Modules/IronPython.Modules.csproj
	$/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Operations/PythonOps.cs
	$/IronPython/IronPython_Main/Languages/IronPython/IronPython.Modules/marshal.cs
	$/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/PythonDictionary.cs
	$/IronPython/IronPython_Main/Languages/IronPython/AssemblyVersion.cs
	$/IronPython/IronPython_Main/Languages/IronPython/IronPython.Modules/re.cs
	$/IronPython/IronPython_Main/Hosts/Silverlight/Chiron/Properties/AssemblyInfo.cs
	$/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/PythonFile.cs
	$/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/CommonDictionaryStorage.cs
	$/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Exceptions/PythonExceptions.cs
	$/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/SetStorage.cs
	$/IronPython/IronPython_Main/Languages/IronPython/Scripts/generate_set.py
	$/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Slice.cs
	$/IronPython/IronPython_Main/Languages/IronPython/Tests/test_set.py
	$/IronPython/IronPython_Main/Languages/IronPython/Tests/versions/python26.py
	$/IronPython/IronPython_Main/Languages/IronPython/Scripts/generate.py
	$/IronPython/IronPython_Main/Languages/IronPython/IronPython/Runtime/Types/NewTypeMaker.cs
	$/IronPython/IronPython_Main/Languages/IronPython/Scripts/test_cgcheck.py
	$/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Debugging/AssemblyInfo.cs
	$/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Properties/AssemblyInfo.cs
	$/IronPython/IronPython_Main/Runtime/Microsoft.Dynamic/Properties/AssemblyInfo.cs
	$/IronPython/IronPython_Main/Runtime/Microsoft.Scripting.Core/Properties/ExtensionAssemblyInfo.cs
	$/IronPython/IronPython_Main/Runtime/Microsoft.Scripting/Properties/AssemblyInfo.cs
	$/IronPython/IronPython_Main/Tutorial/Tutorial.htm

CHECKIN COMMENTS
--------------------------------------------------------------------------------
Changeset Id: 1759102
Date: 4/30/2010 3:50:41 PM

Implements the mmap module. (CLR 4 only)




(Shelveset: mmap;REDMOND\ddicato | SNAP CheckinId: 10702)
--------------------------------------------------------------------------------
Changeset Id: 1758982
Date: 4/30/2010 2:29:14 PM

Complete rewrite and optimization of our set implementation. Added SetStorage class, which is similar to CommonDictionaryStorage without Value fields in its buckets. Set operations are in SetStorage.cs rather than Set.cs for full access to private fields, enabling certain optimizations (e.g. not re-hashing elements). Set operations only iterate through the smaller set when possible. ISet interface is gone, and duplicated logic in set/frozenset is now generated. SetHelpers is gone, but several static helpers remain and have moved over to SetStorage. Frozen sets now share their underlying storage whenever possible. Removed sort from hashing function and instead combined elements’ hashes in a commutative and associative manner. Three different methods of order-independent “summation” (using ^, +, and *) are combined with set cardinality to attain desired hash effectiveness as tested by CPython.

Other changes:
 – Removed HasAnyValues from CommonDictionaryStorage in favor of checking (_count > 0). _count now represents number of values in bucket array, not including the null bucket.
– Fixed an issue in our code generator which failed when the generated code contained ‘#endregion’.




(Shelveset: SetOptimizations;REDMOND\ddicato | SNAP CheckinId: 10699)



More information about the Ironpython-users mailing list