On 4/22/20 5:21 PM, Sebastiaan Koppe wrote:
On Wednesday, 22 April 2020 at 20:27:12 UTC, Steven Schveighoffer wrote:
Just wanted to throw this out there on a slow day. I wrote this little
utility to generate static lookup tables, because using an AA is too
expensive for something like e.g. look
On Wednesday, 22 April 2020 at 21:21:31 UTC, Sebastiaan Koppe
wrote:
For the indexLookup you can also use
https://github.com/skoppe/perfect-hash
That is not quite true, only for strings.
On Wednesday, 22 April 2020 at 20:27:12 UTC, Steven Schveighoffer
wrote:
Just wanted to throw this out there on a slow day. I wrote this
little utility to generate static lookup tables, because using
an AA is too expensive for something like e.g. looking up
database row data by column name.
I
Just wanted to throw this out there on a slow day. I wrote this little
utility to generate static lookup tables, because using an AA is too
expensive for something like e.g. looking up database row data by column
name.
It's very crude, but very short and sweet. Hopefully people find a use
for
On Wednesday, 22 April 2020 at 17:32:33 UTC, Stefan Koch wrote:
It's going to be part of the compiler.
You can look at the ... expression DIP.
which Manu posted in General, for taste of where my stuff is
going.
I think I see the point - I am familiar with C++ variadic
templates.
Yes, speed
On Wednesday, 22 April 2020 at 17:27:48 UTC, Jean-Louis Leroy
wrote:
On Wednesday, 22 April 2020 at 17:16:28 UTC, Stefan Koch wrote:
I am working on a much more powerful and efficient meta
programming system.
Great! Is it going to be in a library, or part of the compiler?
Can we get a previe
On Wednesday, 22 April 2020 at 17:16:28 UTC, Stefan Koch wrote:
I am working on a much more powerful and efficient meta
programming system.
Great! Is it going to be in a library, or part of the compiler?
Can we get a preview somewhere?
On Wednesday, 22 April 2020 at 13:32:03 UTC, Jean-Louis Leroy
wrote:
I tried compiling my example with `dmd -vcg-ast -c tmt.d` and I
did got neither an AST nor an error, and the option is not in
`dmd -h`, where can I read about it?
-vcg-ast is a debugging tool I original built to fix an bug
On Wednesday, 22 April 2020 at 05:20:18 UTC, Stefan Koch wrote:
On Tuesday, 21 April 2020 at 14:43:04 UTC, Jean-Louis Leroy
wrote:
I wonder if templates are lazily expanded. I haven't looked at
the compiler's code, my guess is: maybe not.
If the template gets used it gets instantiated (and
The first round of Community Review of DIP 1033, "Implicit
Conversion of Expressions to Delegates", has begun.
Feedback Thread:
https://forum.dlang.org/post/nxahrsukobybkezib...@forum.dlang.org
Discussion Thread:
https://forum.dlang.org/post/ecxdylguqkhtmdoml...@forum.dlang.org
10 matches
Mail list logo