News for hackers. Stuff that matters.
Re:Why is C faster than Java: git vs JGit by mdeicaza on Thursday January 12, 2012 @11:20AM (#3456831)
Additionally, C# collections do not need to box.

List<int> uses an actual array of integers as its backing store instead of an array of objects that contain boxed copies of the integers.

There is a port of JGit to .NET called NGit, which is what we use for MonoDevelop.

The port is maintained with an automatic tool that converts Java code to C# code, you can find it here:

https://github.com/slluis/ngit

Re:Why is C faster than Java: git vs JGit by ot on Friday January 13, 2012 @04:32AM (#3459839)
> List<int> uses an actual array of integers as its backing store instead of an array of objects that contain boxed copies of the integers.

Yes, that's what I meant with specialized collections :)

BTW, I didn't know about the awesome NGit, automatic conversion from Java is really impressive!