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

_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to