summaryrefslogtreecommitdiff
path: root/plugins/degesch/thin-cursor.lua
diff options
context:
space:
mode:
authorPřemysl Eric Janouch <p@janouch.name>2020-10-19 05:19:28 +0200
committerPřemysl Eric Janouch <p@janouch.name>2020-10-19 06:38:31 +0200
commit419b02e9f720cc198012c67dfed71394997d81d7 (patch)
treea5c17216a81dd6b34a710c2e1b5286ffdc3196f0 /plugins/degesch/thin-cursor.lua
parentc89032e4e032b988dba38ffe1f0d80b20fc04b76 (diff)
downloadxK-419b02e9f720cc198012c67dfed71394997d81d7.tar.gz
xK-419b02e9f720cc198012c67dfed71394997d81d7.tar.xz
xK-419b02e9f720cc198012c67dfed71394997d81d7.zip
degesch: slightly cut down memory usage
The worst offenders are actually OpenSSL and Lua, this is mostly about a preventable surprise. This is more correct because we mix escape sequences for attributes with text, however in practice no one will use shit-jizz with degesch. It is also a clean-up: "struct line_char" has been almost halved in size. We used to use it as a cache and now we recompute the multibyte sequence. Of course, it'd be best to get rid of the linked list but it would take a very long time to rewrite the algorithm. Plus, it's not certain that it could be improved by much. The change in "struct line_char_attrs" is merely cosmetical.
Diffstat (limited to 'plugins/degesch/thin-cursor.lua')
0 files changed, 0 insertions, 0 deletions