[fpc-devel] Prototype optimisation... Sliding Window

J. Gareth Moreton gareth at moreton-family.com
Sun Feb 27 20:43:11 CET 2022


All tests passed successfully, including an extra addition that shaved 
another 5kb off the compiler!  Now the hard part... writing that 
whitepaper for everyone, since I think this is one of those times where 
it will be necessary.

But if anyone wants to analyse and test it out before I make a merge 
request, here it is: 
https://gitlab.com/CuriousKit/optimisations/-/commits/sliding-window

In terms of size, it reduces the compiler size on x86_64-win64 by about 
0.5%, but what will be interesting to hear feedback on is execution 
speed, since it's removing redundant code and reducing the number of 
pointer deallocations.

Gareth aka. Kit


-- 
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus



More information about the fpc-devel mailing list