[fpc-devel] x86_64 Optimizer Overhaul
Ryan Joseph
ryan at thealchemistguild.com
Wed Dec 12 13:59:42 CET 2018
> On Dec 12, 2018, at 7:20 PM, Martok <listbox at martoks-place.de> wrote:
>
> Checking out the memory manager(s) could be useful as well - there are a lot of
> small allocations, that generally tends to put much stress on it.
> And any improvement there would also directly benefit user applications.
I noticed today when working on operator overloads (for default properties) is that there is no attempt to cache anything.
For example every time you it parses “1 + 1” a large code block is entered, lots of dynamic allocations etc… Obviously the resolved overload for integer+integer could be cached, at least on a per-block level. That’s a particularly wasteful detail I noticed and there’s probably many more like this.
Regards,
Ryan Joseph
More information about the fpc-devel
mailing list