Click here to Skip to main content
15,886,199 members
Articles / Programming Languages / C#

Iteration Performance in .NET

Rate me:
Please Sign up or sign in to vote.
4.69/5 (19 votes)
20 May 20031 min read 110.8K   567   25  
Article on the relative performance of various methods of iterating through large amounts of data.
Microsoft Visual Studio Solution File, Format Version 7.00
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Data", "Data\Data.csproj", "{4795ABA9-060E-4B0E-A7F2-3A874D0735DD}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Pointer", "Pointer\Pointer.vcproj", "{817D48C2-8B65-4F24-B19F-2940D353424A}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Test", "Test\Test.csproj", "{78EC7423-8C79-466F-B554-BE3735FD0560}"
EndProject
Global
	GlobalSection(SourceCodeControl) = preSolution
		SccNumberOfProjects = 4
		SccProjectName0 = Admin
		SccLocalPath0 = .
		SccProvider0 = MSSCCI:Reliable\u0020Software\u0020Code\u0020Co-op
		CanCheckoutShared = true
		SolutionUniqueID = {D1F75E03-C775-46F8-98A2-F44FC424DE48}
		SccProjectUniqueName1 = Data\\Data.csproj
		SccLocalPath1 = Data
		CanCheckoutShared = true
		SccProjectUniqueName2 = Pointer\\Pointer.vcproj
		SccLocalPath2 = Pointer
		CanCheckoutShared = true
		SccProjectUniqueName3 = Test\\Test.csproj
		SccLocalPath3 = Test
		CanCheckoutShared = true
	EndGlobalSection
	GlobalSection(SolutionConfiguration) = preSolution
		ConfigName.0 = Debug
		ConfigName.1 = Release
	EndGlobalSection
	GlobalSection(ProjectDependencies) = postSolution
	EndGlobalSection
	GlobalSection(ProjectConfiguration) = postSolution
		{4795ABA9-060E-4B0E-A7F2-3A874D0735DD}.Debug.ActiveCfg = Debug|.NET
		{4795ABA9-060E-4B0E-A7F2-3A874D0735DD}.Debug.Build.0 = Debug|.NET
		{4795ABA9-060E-4B0E-A7F2-3A874D0735DD}.Release.ActiveCfg = Release|.NET
		{4795ABA9-060E-4B0E-A7F2-3A874D0735DD}.Release.Build.0 = Release|.NET
		{817D48C2-8B65-4F24-B19F-2940D353424A}.Debug.ActiveCfg = Debug|Win32
		{817D48C2-8B65-4F24-B19F-2940D353424A}.Debug.Build.0 = Debug|Win32
		{817D48C2-8B65-4F24-B19F-2940D353424A}.Release.ActiveCfg = Release|Win32
		{817D48C2-8B65-4F24-B19F-2940D353424A}.Release.Build.0 = Release|Win32
		{78EC7423-8C79-466F-B554-BE3735FD0560}.Debug.ActiveCfg = Debug|.NET
		{78EC7423-8C79-466F-B554-BE3735FD0560}.Debug.Build.0 = Debug|.NET
		{78EC7423-8C79-466F-B554-BE3735FD0560}.Release.ActiveCfg = Release|.NET
		{78EC7423-8C79-466F-B554-BE3735FD0560}.Release.Build.0 = Release|.NET
	EndGlobalSection
	GlobalSection(ExtensibilityGlobals) = postSolution
	EndGlobalSection
	GlobalSection(ExtensibilityAddIns) = postSolution
	EndGlobalSection
EndGlobal

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
CEO CenterSpace Software
United States United States
Trevor has held demanding development positions for a variety of firms using C++, Java, .NET, and other technologies, including Rogue Wave Software, CleverSet, and ProWorks. He is coauthor of The Elements of Java Style , The Elements of C++ Style, and The Elements of C# Style, published by Cambridge University Press. He has also served on a course advisory board of the University of Washington. His teams have won the JavaWorld "GUI Product of the Year" and XML Magazine "Product of the Year" awards. Trevor holds a BSc in Computer Science from the University of British Columbia and a BA in Economics from the University of Western Ontario.

Comments and Discussions