First results of the Spring4d refactorings:

First results of the Spring4d refactorings:

- reduced binary size for TList from approx 100K to less than 30K
- improved performance for event invokation by approx 20%

Comments

  1. Interesting - what kind of tweaking did you do to cut the code with 70k?

    ReplyDelete
  2. I removed many methods from IEnumerable (like First, Last, Where and so on) and moved them to a record type that you can access by calling AsEnumerable.
    That makes it possible for the linker to remove these methods when not used. Otherwise for every TList all the methods are contained in the binary even if not used.

    ReplyDelete

Post a Comment