#1 Re: Low level and performance » Delphi doesn't like multi-core CPUs (or the contrary) » 2019-03-21 13:41:28

Hi!

ab wrote:

3. Most locks are performed by the current version of Delphi:
  - when you allocate memory;
  - when your memory has to grow up or down;
  - when your memory is freed;

The latest FastMM is quite good now, it scales well. (We used ScaleMM2, but we had to switch to FastMM because of a particular problem)

ab wrote:

  - when a string is assigned to another string, which is very common if you use methods/function which returns a string as a result;
  - when a char is about to be written in the string, i.e. when a string is about to be modified (implicit UniqueString() call generated by the compiler);
  - the same for dynamic arrays...

Do you have any kind of solution for string/dynamic arra lock which does not include a complete library/program rewrite?

Board footer

Powered by FluxBB