Re: [Interest] QSharedMemory example has excessive copies?

2016-09-02 Thread Thiago Macieira
Em quinta-feira, 1 de setembro de 2016, às 23:42:59 CEST, Joshua Grauman escreveu: > It looks to me like the process that loads the image from the file into > shared memory has 3 deep copies. Maybe implicit sharing reduces that, I'm > not sure. But on the surface, it looks like 1) the file is

[Interest] QSharedMemory example has excessive copies?

2016-09-02 Thread Joshua Grauman
Hello, I'm looking to use QSharedMemory to grab an image from a widget into shared memory (using QWidget::grab() or QWidget::render()), so another process/program can process the images. So I'm looking at the QSharedMemory example here: