[Github-comments] [geany/geany] Aggressively cache line height for computing margin sizes (b08ae0f)

elextr notifications at xxxxx
Sat Feb 6 01:12:41 UTC 2021


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.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/commit/b08ae0fe65c0942dca20281d6841dc83406d8b5e#commitcomment-46810064
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20210205/7928185a/attachment.htm>


More information about the Github-comments mailing list