Re: [Development] What's Q_PRIMITIVE_TYPE for?

2020-11-12 Thread Lars Knoll
> On 13 Nov 2020, at 07:48, Thiago Macieira wrote: > > On Thursday, 12 November 2020 07:07:53 PST Lars Knoll wrote: >> So except for the memset(0) for default construction, Primitive and Trivial >> have the same conditions in your list here. My proposal would be to drop >> the memset(0) optimis

Re: [Development] What's Q_PRIMITIVE_TYPE for?

2020-11-12 Thread Thiago Macieira
On Thursday, 12 November 2020 07:07:53 PST Lars Knoll wrote: > So except for the memset(0) for default construction, Primitive and Trivial > have the same conditions in your list here. My proposal would be to drop > the memset(0) optimisation and with that unify those two groups. Not exactly. The

Re: [Development] Qt 6 co-installability with Qt 5

2020-11-12 Thread Lisandro Damián Nicanor Pérez Meyer
Hi! On Wed, 11 Nov 2020 at 12:55, Thiago Macieira wrote: > > On Monday, 9 November 2020 09:57:13 PST Lisandro Damián Nicanor Pérez Meyer > wrote: > > Seriously, we have discussed this before, and we kind of agreed that > > user-facing applications should either be really backwards compatible > >

Re: [Development] What's Q_PRIMITIVE_TYPE for?

2020-11-12 Thread Lars Knoll
On 12 Nov 2020, at 15:37, Giuseppe D'Angelo mailto:giuseppe.dang...@kdab.com>> wrote: Il 12/11/20 15:13, Lars Knoll ha scritto: Is_trivial() explicitly states that you can memcpy/memmove objects and I really want to keep this. With your change, those will by default fall back to the complex cas

Re: [Development] What's Q_PRIMITIVE_TYPE for?

2020-11-12 Thread Giuseppe D'Angelo via Development
Il 12/11/20 15:13, Lars Knoll ha scritto: Is_trivial() explicitly states that you can memcpy/memmove objects and I really want to keep this. With your change, those will by default fall back to the complex case, slowing down operations on that list. The right detection for copies and copy as

Re: [Development] What's Q_PRIMITIVE_TYPE for?

2020-11-12 Thread Lars Knoll
On 12 Nov 2020, at 13:13, Giuseppe D'Angelo via Development mailto:development@qt-project.org>> wrote: Il 12/11/20 10:36, Lars Knoll ha scritto: On 12 Nov 2020, at 03:10, Thiago Macieira mailto:thiago.macie...@intel.com>> wrote: On Wednesday, 11 November 2020 10:14:26 PST Giuseppe D'Angelo via

Re: [Development] What's Q_PRIMITIVE_TYPE for?

2020-11-12 Thread Giuseppe D'Angelo via Development
Il 12/11/20 10:36, Lars Knoll ha scritto: On 12 Nov 2020, at 03:10, Thiago Macieira > wrote: On Wednesday, 11 November 2020 10:14:26 PST Giuseppe D'Angelo via Development wrote: Hi, On 11/11/2020 18:14, Thiago Macieira wrote: So my recommendation is:  1) de

Re: [Development] What's Q_PRIMITIVE_TYPE for?

2020-11-12 Thread Lars Knoll
On 12 Nov 2020, at 03:10, Thiago Macieira mailto:thiago.macie...@intel.com>> wrote: On Wednesday, 11 November 2020 10:14:26 PST Giuseppe D'Angelo via Development wrote: Hi, On 11/11/2020 18:14, Thiago Macieira wrote: So my recommendation is: 1) deprecate Q_PRIMITIVE_TYPE and rename to Q_TRIVIAL