<p></p>
<p>The hash thing would be a good idea if you were going to store a number of heights in a hash table, but you still have to store the original values in the table to check for hash clashes, and Geany's most common use-case (AFAIK) has all scintilla settings the same so a single cache is sufficient.</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/commit/b08ae0fe65c0942dca20281d6841dc83406d8b5e#commitcomment-46810064">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJ6SD32SMZ32HITI5ALS5SJQTANCNFSM4XDYPPXA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAIOWJY4GLK25747VQ27NJTS5SJQTA5CNFSM4XDYPPXKYY3PNVWWK3TUL52HS4DFVVBW63LNNF2EG33NNVSW45FKMNXW23LFNZ2F62LEZYBMUQ6Q.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/commit/b08ae0fe65c0942dca20281d6841dc83406d8b5e#commitcomment-46810064",
"url": "https://github.com/geany/geany/commit/b08ae0fe65c0942dca20281d6841dc83406d8b5e#commitcomment-46810064",
"name": "View Commit"
},
"description": "View this Commit on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>