Search

January 21, 2022
Learn »
good pickup. thanks ;-)

// ----

module test;
@safe:

import std.stdio : write, writef, writeln, writefln;
import std...
January 21, 2022
Learn »
What's the point of calling .dup here?  The only reference to records is going...
January 21, 2022
Learn »
oops... should be:

// ---

int[][int][] CreateDataSet
(const(int) recordsNeeded, const(int)valuesPerRecord)
{
    int[][int][] records...
January 21, 2022
Learn »
even better, I got rid of all those uncessary arrays ;-)

// ---

int[][int][] CreateDataSet
(const(int...
January 21, 2022
Learn »
thanks. that makes more sense actually ;-)

now i can get rid of the idArray completely...
January 21, 2022
Learn »
yes, I was thinking this over as I was waking up this morning, and thought...
January 21, 2022
Learn »
Yeah, iota is a random-access range, so you can just pass it directly, and...
January 21, 2022
Learn »
Actually you don't even need to do this, unless you want precise control over...
January 21, 2022
Learn »
[...]

Ah yes, the good ole O(N²) trap that new programmers often fall into.
:-)

Using...
January 21, 2022
Issues »
https://issues.dlang.org/show_bug.cgi?id=22291

Dlang Bot <dlang-bot@dlang.rocks...
48 49 50 51 52 53 54 55 56 57 58 59
Next ›   Last »