Re: DerelictGL3 slow compilation speed with contexts

2017-09-14 Thread Mike Parker via Digitalmars-d-learn
On Wednesday, 13 September 2017 at 16:30:34 UTC, Igor wrote: I tested it again with my entire project and it seems it is not inline thing but -O (optimized build). You can checkout the project here: https://github.com/igor84/dngin if you try to build it with "dub build -ax86_64 -b release"

Re: DerelictGL3 slow compilation speed with contexts

2017-09-13 Thread Igor via Digitalmars-d-learn
On Wednesday, 13 September 2017 at 13:25:01 UTC, Mike Parker wrote: On Wednesday, 13 September 2017 at 10:28:26 UTC, Igor wrote: Well since minimal example is a window app that opens a window, sets everything up and calls opengl stuff I will just push it to my github project this evening and y

Re: DerelictGL3 slow compilation speed with contexts

2017-09-13 Thread Mike Parker via Digitalmars-d-learn
On Wednesday, 13 September 2017 at 10:28:26 UTC, Igor wrote: Well since minimal example is a window app that opens a window, sets everything up and calls opengl stuff I will just push it to my github project this evening and you will can try with that. I will let you know when its done. In t

Re: DerelictGL3 slow compilation speed with contexts

2017-09-13 Thread Igor via Digitalmars-d-learn
On Wednesday, 13 September 2017 at 01:30:10 UTC, Mike Parker wrote: On Tuesday, 12 September 2017 at 21:55:23 UTC, Igor wrote: Hi All, I switched from using free functions in DerelictGL3 to DerelictGL3_Contexts and compilation speed in optimized build using DMD went from 2 seconds to 7 minute

Re: DerelictGL3 slow compilation speed with contexts

2017-09-12 Thread Mike Parker via Digitalmars-d-learn
On Tuesday, 12 September 2017 at 21:55:23 UTC, Igor wrote: Hi All, I switched from using free functions in DerelictGL3 to DerelictGL3_Contexts and compilation speed in optimized build using DMD went from 2 seconds to 7 minutes and using LDC from 2 seconds to 10 seconds. Is this a known proble

DerelictGL3 slow compilation speed with contexts

2017-09-12 Thread Igor via Digitalmars-d-learn
Hi All, I switched from using free functions in DerelictGL3 to DerelictGL3_Contexts and compilation speed in optimized build using DMD went from 2 seconds to 7 minutes and using LDC from 2 seconds to 10 seconds. Is this a known problem? Are there any workarounds?