<p>Geany's most prominent use-case is for human programming with lines people can understand (and write :).  As a result lots of things like screen layout and formatting are performed on a a per-line basis, which is fine for human length lines.</p>
<p>But in your case that means they are always being performed on the whole file, so its much slower, and clearly the operations are polynomial time in the length of the line since doubling the size takes ten times the time.</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/issues/2094#issuecomment-467814897">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABDrJ0CXmVjBEIzVpVWHYhpGP5xEkBb8ks5vRmILgaJpZM4bUIJ6">mute the thread</a>.<img src="https://github.com/notifications/beacon/ABDrJ9k26_A_jk42CtS_12fiBdI7CNy0ks5vRmILgaJpZM4bUIJ6.gif" height="1" width="1" alt="" /></p>
<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/geany/geany","title":"geany/geany","subtitle":"GitHub repository","main_image_url":"https://github.githubassets.com/images/email/message_cards/header.png","avatar_image_url":"https://github.githubassets.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/geany/geany"}},"updates":{"snippets":[{"icon":"PERSON","message":"@elextr in #2094: Geany's most prominent use-case is for human programming with lines people can understand (and write :).  As a result lots of things like screen layout and formatting are performed on a a per-line basis, which is fine for human length lines.  \r\n\r\nBut in your case that means they are always being performed on the whole file, so its much slower, and clearly the operations are polynomial time in the length of the line since doubling the size takes ten times the time."}],"action":{"name":"View Issue","url":"https://github.com/geany/geany/issues/2094#issuecomment-467814897"}}}</script>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany/issues/2094#issuecomment-467814897",
"url": "https://github.com/geany/geany/issues/2094#issuecomment-467814897",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>