[Development] Qt 5 types under consideration for deprecation / removal in Qt 6

Konstantin Tokarev annulen at yandex.ru
Tue Jun 4 03:46:31 CEST 2019



04.06.2019, 04:41, "Thiago Macieira" <thiago.macieira at intel.com>:
> On Monday, 3 June 2019 18:04:49 PDT Thiago Macieira wrote:
>>  This script takes a hideously enormous amount of time to run. I hope it's
>>  because that's just a really long line. Found this script that seems to
>>  break every 16 bytes:
>>  https://github.com/sperner/PowerShell/blob/master/HexDump.ps1
>
> BTW, equivalent Perl script that is a single line and runs in 0.357 seconds:
>
> map { printf "0x%x, ", ord $_ } split //, <>
>
> perl -ne 'map { printf "0x%x, ", ord $_ } split //, <>' < src/corelib/
> mimetypes/mime/packages/freedesktop.org.xml | wc
>       0 1140712 6823656
>
> [xxd runs in 0.23 seconds]

This can be done with qmake if we implement ord

-- 
Regards,
Konstantin



More information about the Development mailing list