Stefan Koch

Results 55 comments of Stefan Koch

Here is what is happening: `Error: template instance `rt.util.typeinfo.TypeInfoGeneric!(ubyte, ubyte)` recursive expansion exceeded allowed nesting limit` template recursion is not the recursion you think of when a function recurs. Since...

> > This needs an explanation, what's the reasoning behind this? > > Better performance? The lower level reasoning. I would expect the performance to actually suffer ... because less...

@WalterBright I am still wondering why you would expect a performance increase by not caching instances? Faster lookups because the hash-table is smaller? Or less memory use because 'internal' instances...

That's fine. But if you are outputting textual asm. it's kindof a problem using the same name twice. Am Di., 6. Okt. 2020 um 10:13 Uhr schrieb Walter Bright <...

I don't think that's a good idea, it looks to much like it's going to spiral out of control and end up in uncrustify

@Hackerpilot I think this can be closed ?

Mind the 32bit platforms. hash_t is 32bit there.

@timotheecour how should it look like ?

well `version` is in the same league as `#if` so ``` version (foo) { } else void main(string[] args) { } ``` would also be plausible

Interesting. What is the rationale for wanting this feature?