I filed QP report requesting additional optimizations of RTL and FMX frameworks for ARC compiler.

I filed QP report requesting additional optimizations of RTL and FMX frameworks for ARC compiler.

This is rather simple optimization I have previously blogged about, and it involves removing unnecessary reference counting during collection iterations.

It is kind of a dirty hack - in terms of making code uglier (not too much), but it is safe and doable. Also it does not have to be applied to all code at once.

If you are interested in squeezing more speed please vote for it :)

https://quality.embarcadero.com/browse/RSP-19924

Also, if anyone knows about some particular piece of code in Delphi frameworks code that should be optimized because he knows it represents a bottleneck, please file it as separate report as this one is rather general one and it can take time to be applied to all the places where it could be.
https://quality.embarcadero.com/browse/RSP-19924

Comments

  1. Ouch! They still use [weak] after so many years:
    quality.embarcadero.com - Log in - Embarcadero Technologies
    There are over 700 cases where FireMonkey RTL and UI source code makes use of the [Weak] attribute. The source code executed for each created instance of object, which has a [Weak] attribute shows CPU cost which increases with the square of the number of created objects.

    https://quality.embarcadero.com/browse/RSP-10257
    Slow grids in FMX

    ReplyDelete

Post a Comment