Optimize: Use property-indices instead of names for notifications.


This reduces the traffic as the indices are usually much smaller than
the property names.

As such, the benchPropertyUpdates gets a speed boost of about 9% (or
10ms vs. 11ms). As we need to transmit the index during initialization
that degrades its performance slightly by ca. 4% (13ms vs. 12.5ms).

Considering that the initialization only takes place once whereas
the property updates potentially often, this is a good tradeoff.

Change-Id: If7df3e360f1528b7d7aa26c63ce851363ae9fd6a
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
commit2f7bef547e51ee6f2fe8f12bbe33f4978d6bd7f2
parent5354cb73e25afbdf55b78c29ca32c1b305aa7efe
authorMilian Wolff <milian.wolff@kdab.com>
committerThe Qt Project <gerrit-noreply@qt-project.org>
commit timeWed, 8 Jan 2014 15:04:34 +0100