Re: [Development] are clangs 3.5 new builtin_operator_(new/delete) also useable for Qt Container optimization?

2014-07-17 Thread Thiago Macieira
On Thursday 17 July 2014 12:20:56 Olivier Goffart wrote: > But Qt don't use custom allocators. According to grep, the only place where > "operator new" is used directly in Qt is QSharedPointer[2]. And I believe > it is better to change the code to call the normal new. (I'm not sure why > it's done

Re: [Development] are clangs 3.5 new builtin_operator_(new/delete) also useable for Qt Container optimization?

2014-07-17 Thread Olivier Goffart
On Thursday 17 July 2014 10:27:39 Dennis Luehring wrote: > these new builtins allows clang to optimize operator new/delete > operations far better then before > > __builtin_operator_new > __builtin_operator_delete > > patches in review for clang 3.5 > clang: http://reviews.llvm.org/rL210137 > lib

[Development] are clangs 3.5 new builtin_operator_(new/delete) also useable for Qt Container optimization?

2014-07-17 Thread Dennis Luehring
these new builtins allows clang to optimize operator new/delete operations far better then before __builtin_operator_new __builtin_operator_delete patches in review for clang 3.5 clang: http://reviews.llvm.org/rL210137 libc++: http://reviews.llvm.org/rL210211 the libc++ patch is very small and