How fast is D compared to C++?

Trass3r un at known.com
Wed Mar 2 12:50:44 PST 2011


> The use of ref introduces a level of indirection.  I suspect the writer  
> was trying to avoid copying array elements -- unnecessary, since  
> vector_t was defined as a dynamic array, where only the bounds are  
> passed.

Yeah I overlooked that, I always think of a struct when thinking about  
vectors.


More information about the Digitalmars-d mailing list