<p>This improves caching introduced in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="802642470" data-permission-text="Title is private" data-url="https://github.com/geany/geany/issues/2747" data-hovercard-type="pull_request" data-hovercard-url="/geany/geany/pull/2747/hovercard" href="https://github.com/geany/geany/pull/2747">#2747</a> and discussed in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="985317423" data-permission-text="Title is private" data-url="https://github.com/geany/geany/issues/2883" data-hovercard-type="issue" data-hovercard-url="/geany/geany/issues/2883/hovercard" href="https://github.com/geany/geany/issues/2883">#2883</a><br>
This change reduce CPU usage on window activate/deactivate by caching up to 128 elements from all SCI_TEXTHEIGHT calls.</p>

<hr>

<h4>You can view, comment on, or merge this pull request online at:</h4>
<p>  <a href='https://github.com/geany/geany/pull/2934'>https://github.com/geany/geany/pull/2934</a></p>

<h4>Commit Summary</h4>
<ul>
  <li><a href="https://github.com/geany/geany/pull/2934/commits/7d8c3fefbdcd55f819969ec316687a349393096e">Improve caching for SCI_TEXTHEIGHT</a></li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/geany/geany/pull/2934/files#diff-cf7e999119814341b59fd3b5a53ecc46271cb20152349ae0a494e77958d2d5f6">src/sciwrappers.c</a>
    (95)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/geany/geany/pull/2934/files#diff-56ae82f66618f1c432ca3bb896373541d46a5867bfd3524c8b36da3cdc502419">src/sciwrappers.h</a>
    (1)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/geany/geany/pull/2934/files#diff-57618d7b5e160a906f23885f8c59d06d88a517be568cbd428366e24b58c13fe5">src/symbols.c</a>
    (2)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/geany/geany/pull/2934.patch'>https://github.com/geany/geany/pull/2934.patch</a></li>
  <li><a href='https://github.com/geany/geany/pull/2934.diff'>https://github.com/geany/geany/pull/2934.diff</a></li>
</ul>

<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/2934">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJ3ADKC743VJWV2ZWNLUGPKO3ANCNFSM5FZZEXSQ">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/AAIOWJZ56J62FFR6EEDNTMTUGPKO3A5CNFSM5FZZEXS2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4PIAJDMA.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/2934",
"url": "https://github.com/geany/geany/pull/2934",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>