D GUI Framework (responsive grid teaser)

Robert M. Münch robert.muench at saphirion.com
Tue May 21 14:04:29 UTC 2019

On 2019-05-19 21:21:55 +0000, Ola Fosheim Grøstad said:

> Interesting, is each cell a separate item then?
> So assuming 3GHz cpu, we get 0.23*3e9/1600 = 431250 cycles per cell?
> That's a lot of work.

Here is a new screencast: 

I optimized the whole thing a bit, so now a complete screen with 
layouting, hittesting, drawing takes about 28ms, that's 8x faster than 
before. Drawing is still around 10ms, layouting around 16ms, spatial 
index handling 2ms.

So this gives us 36 FPS which is IMO pretty good for a desktop app 
target. There might be some 2-3ms speed-up still possible but not worth 
the effort yet.

Robert M. Münch
smarter | better | faster

More information about the Digitalmars-d-announce mailing list