diff options
author | Přemysl Eric Janouch <p@janouch.name> | 2020-10-19 05:19:28 +0200 |
---|---|---|
committer | Přemysl Eric Janouch <p@janouch.name> | 2020-10-19 06:38:31 +0200 |
commit | 419b02e9f720cc198012c67dfed71394997d81d7 (patch) | |
tree | a5c17216a81dd6b34a710c2e1b5286ffdc3196f0 /plugins/degesch/censor.lua | |
parent | c89032e4e032b988dba38ffe1f0d80b20fc04b76 (diff) | |
download | xK-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/censor.lua')
0 files changed, 0 insertions, 0 deletions