heh...but it saves one malloc!:) At least you can figure out this stuff:) It just C++ with combination of clueless person produces a much worse results then the same combination in C.
Re: How about D?passerbypSeptember 24 2007, 15:37:36 UTC
Looks to me, the real issue with D that if you'll start using it then you'll be along, because not to many people know this language. So, in this case you'll isolated in small D community...
Comments 5
mystruct* msp = kmem_alloc(sizeof(mystruct) + sizeof(char) * strlen(string_at_end_of_mystruct));
Reply
in C.
Reply
Reply
http://shootout.alioth.debian.org/gp4/benchmark.php?test=all&lang=all
Reply
Reply
Leave a comment