Re: Classinfo and @nogc conflict

2018-03-06 Thread Adam D. Ruppe via Digitalmars-d
On Tuesday, 6 March 2018 at 03:07:49 UTC, solidstate1991 wrote: I use classinfo for detecting the type of bitmaps, and while I probably will have a workaround for the associative array stuff Have you tried `item.classinfo is typeid(xxx)` so `is` instead of `==`? That... might not work across s

Classinfo and @nogc conflict

2018-03-05 Thread solidstate1991 via Digitalmars-d
I'm trying to speed up my graphic engine, however the presence of the GC in function Layer.updateRaster (see here: https://github.com/ZILtoid1991/pixelperfectengine/blob/master/pixelperfectengine/src/PixelPerfectEngine/graphics/layers.d ) means I get an occasional bump in CPU usage if not a frame