<div id="__MailbirdStyleContent" style="font-size: 10pt;font-family: Arial;color: #000000;text-align: left" dir="ltr">
                                        Hi Tony --<div><br></div><div>I will look into this. The primitive is not dead for me... Fallback code seems a little bit slower...</div><div><br></div><div>> <span style="font-family: Arial, Helvetica, sans-serif;font-size: 13px">why is it re-layouting when I just change the </span><span style="font-family: Arial, Helvetica, sans-serif;font-size: 13px">TransformMorph's offset??</span></div><span style="font-family: Arial, Helvetica, sans-serif;font-size: 13px"><br>It is not. The CompositionScanner does the layouting. The DisplayScanner does the display. Both are of superclass "CharacterScanner". Both need that primitive. I suppose.</span><div><span style="font-family: Arial, Helvetica, sans-serif;font-size: 13px"><br></span></div><div><span style="font-family: Arial, Helvetica, sans-serif;font-size: 13px">I will check is along with my current work on TrueType fonts and related caches.<br></span><div><br></div><div>Best,</div><div>Marcel</div><div class="mb_sig"></div>
                                        </div><blockquote class="history_container" type="cite" style="border-left-style: solid;border-width: 1px;margin-top: 20px;margin-left: 0px;padding-left: 10px;min-width: 500px">
                        <p style="color: #AAAAAA; margin-top: 10px;">Am 17.02.2022 10:07:17 schrieb Tony Garnock-Jones <tonyg@leastfixedpoint.com>:</p><div style="font-family:Arial,Helvetica,sans-serif">Hi all,<br><br>Commenting out "<primitive 103="">" in <br>CharacterScanner>>primScanCharactersFrom:to:in:rightX:stopConditions:kern: <br>immediately and dramatically improves the performance of scrolling <br>anything truetype-font-ish on my very slow arm64 cellphone.<br><br>It's still not *fast* (why is it re-layouting when I just change the <br>TransformMorph's offset??) but it's faster than it was before, which was <br>"lock up the entire UI for ten seconds while thinking about failing <br>primitive 103"-speed.<br><br>Interestingly, fast x86_64 machines aren't immune either! Running a <br>tally in the same image on my x86_64 pc with a modern VM, and doing the <br>same scrolly thing, showed primitives to be taking a significant chunk <br>of time. Commenting out "<primitive 103="">" there immediately eliminated a <br>lot of wasted CPU usage, though the machine is so fast it's not easy to <br>notice the improvement at squishy meatbody sensory refresh rates.<br><br>So, should I commit a change that comments out "<primitive 103="">" for <br>good? I don't see a downside! Is there one?<br><br>Cheers,<br>   Tony<br><br></primitive></primitive></primitive></div></blockquote></div>