ATTENTION: You are viewing a page formatted for mobile devices; to view the full web page, click HERE.

Other Software > Developer's Corner

Linked Lists versus Lists in .NET

<< < (2/2)

kyrathaba:
In other words, for non-speed-critical tasks, lists are more often than not the simpler, and sometimes more efficient, alternative.

f0dder:
Well, a C++ std::vector is simpler than a std::list (since it has (fast) random access etc.), and if you need splicing and large inserts, std::list can be the solution for speed-critical tasks...

So my default, simple and efficient container would be a vector, unless I need another because of whatever characteristic.

kyrathaba:
Speaking of C++, I wonder if I ought to make the move from C# to C++.NET

Eóin:
If you're doing .NET I say stick with C#, if you want to go native then switch to unmanaged C++.

Navigation

[0] Message Index

[*] Previous page

Go to full version