Skip to content

Shorten cutils.compareansistrings.

ca.patch

The patch removes 20 LoC and that’s all: this functions is called only 50 times when compiling my application, probably the only way to get a reasonable amount is a huge case .. of over strings which no one uses anyway, and when I try to stress it, I run out of either RAM (this compiles 256 nested functions organized at 2 16×16 nested levels and takes almost 1 Gb: 256x.pas, my original attempt to compile 4096 functions organized at 3 16×16×16 levels would probably require 16 times more, I terminated the process at 6 Gb) or (so-called imaginary?) registers long before I start to feel anything (compareansistrings calls in the example take maybe 40 ms out of 11,000).

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information