Passing array as const slows down code?

Joseph Rushton Wakeling joseph.wakeling at webdrake.net
Fri Apr 27 08:18:52 PDT 2012


On 27/04/12 17:12, Joseph Rushton Wakeling wrote:
> So, in pseudocode, it's something like this:

... should add: if anyone wants to see the _real_ code, it's here:
https://github.com/WebDrake/Dregs/blob/master/dregs/codetermine.d

With the passed array being the Rating!()[] that gets passed to the reputation() 
method and the function it calls.


More information about the Digitalmars-d-learn mailing list