Why you are using old resource file format (Lazarus)? Please use FPC (native) resource file format.https://wiki.freepascal.org/Lazarus_Resources#FPC_resources
Okay, i could change resource format but the question is: Why is this so slow? About one year ago i didn't notice any slow compiling of this unit.
You might want to test if disabling $LONGSTRINGS feature (aka reference counted strings) helps. https://www.freepascal.org/docs-html/prog/progsu25.html
Quote from: Cyrax on March 09, 2020, 04:34:42 pmYou might want to test if disabling $LONGSTRINGS feature (aka reference counted strings) helps. https://www.freepascal.org/docs-html/prog/progsu25.htmlIt will help in so far that his resources will be broken, because the strings are longer than 255 characters.
But what is the reason for the slowdown. I couldn't remember that compile times were that bad in the past. Compiling my project in Lazarus seems to stop for half a minute now.