[Interest] QML bindings and redundant property changes

Giuseppe D'Angelo dangelog at gmail.com
Thu Apr 2 00:24:29 CEST 2015


Sorry, email sent accidentally. Elaborating: if "a" changes, the
engine *might* do a topological sorting of a's dependencies to
minimize the number of reevaluations. But I would never ever rely on
such a thing being present and consider it an implementation detail.

On 2 April 2015 at 00:21, Giuseppe D'Angelo <dangelog at gmail.com> wrote:
> On 1 April 2015 at 19:11, Preet <prismatic.project at gmail.com> wrote:
>>
>> I would have expected two invocations of onPerimeterChanged, but it gets
>> called only once. The QML engine avoids the redundant change and I'm curious
>> as to how this is done.
>
> http://en.wikipedia.org/wiki/Topological_sorting
>
> --
> Giuseppe D'Angelo



-- 
Giuseppe D'Angelo



More information about the Interest mailing list