Optimizing Java using D

Daniel Murphy via Digitalmars-d digitalmars-d at puremagic.com
Sat Jul 5 10:07:14 PDT 2014


"Wanderer"  wrote in message news:jbvbufgyhbjrkpukrdtg at forum.dlang.org...

> For pair of integers, you can use long and sort an array of longs.

Awesome, now your sort order depends on processor endianness!

Storing structs in contiguous memory is sometimes better for some things. 
The fact that sometimes it isn't better doesn't change this, but for some 
reason you've pointed out disadvantages...  What point are you trying to 
make? 



More information about the Digitalmars-d mailing list