<p></p>
<p dir="auto">That is really surprising <g-emoji class="g-emoji" alias="frowning_face" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/2639.png">☹️</g-emoji>  I'd expect RPi 4 to handle this much better. I don't have any slower hardware readily available right now, but I have tested it with <code>cpulimit -l 50 -i geany SQLExpressionBuilder.kt</code>, which on my i5 should mean it should get about 1.2GHz and was still pretty smooth. There might of course also be some difference due to memory speed.</p>
<p dir="auto">Well, I started this as a "Christmas project" last year, so I guess I'll just have a another one for this year: to make it faster.</p>
<blockquote>
<p dir="auto">... seems to contain many anonymous functions and it seems to be a common pattern in Kotlin files and seeing the symbol tree filled with  doesn't seem that useful to me so maybe these shouldn't be reported to Geany.</p>
</blockquote>
<p dir="auto">Yes, lambdas can be quite common in Kotlin code and you're right, that they are probably useless in the symbol tree most of the time. I think the only valid reason to keep them is that there might be something else declared in their scope. Perhaps we could filter out all lambdas without any child nodes?</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/geany/geany/pull/3034#issuecomment-991868661">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJYRKSQXM6V5OPEPMMTUQRYATANCNFSM5I7MRDJA">unsubscribe</a>.<br />Triage notifications on the go with GitHub Mobile for <a href="https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675">iOS</a> or <a href="https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub">Android</a>.
<img src="https://github.com/notifications/beacon/AAIOWJ35XW4GMFFFE5KXGPDUQRYATA5CNFSM5I7MRDJKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOHMPLN5I.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany/pull/3034#issuecomment-991868661",
"url": "https://github.com/geany/geany/pull/3034#issuecomment-991868661",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>