On 2012-05-29 14:37, Manu wrote:
That's interesting. I can probably give that a shot. So you think that's a bigger cost than the CTFE code that generates the strings?
I don't know. I just did a test with Derelict that needed to be compatible with D1 and D2 and therefore used string mixins for things like __gshared.
For example: http://www.dsource.org/projects/derelict/browser/branches/Derelict2/DerelictGL/derelict/opengl/glfuncs.d#L699 Putting all those declarations in their own string mixins make a difference. -- /Jacob Carlborg
