aboutsummaryrefslogtreecommitdiff
path: root/TODO
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2020-10-16 03:49:52 +0200
committerdec05eba <dec05eba@protonmail.com>2020-10-16 03:49:52 +0200
commit66a97007eb36a112f31e923c20e434ba8b39c4ba (patch)
tree026d4dd8dafe0d807e5480d538fa17a981b64508 /TODO
parentc23ceac642ea95081a239c7af9f882082addb8c1 (diff)
Matrix: use rapidjson instead of jsoncpp to decrease memory usage from 58mb to 24mb
Diffstat (limited to 'TODO')
-rw-r--r--TODO3
1 files changed, 2 insertions, 1 deletions
diff --git a/TODO b/TODO
index 3e13fa9..950489e 100644
--- a/TODO
+++ b/TODO
@@ -105,4 +105,5 @@ Add file upload to 4chan.
Retry download if it fails, at least 3 times (observed to be needed for mangadex images).
Readd autocomplete, but make it better with a proper list. Also readd 4chan login page and manganelo creators page.
Fix logout/login in matrix. Currently it doesn't work because data is cleared while sync is in progress, leading to the first sync sometimes being with previous data...
-Modify sfml to use GL_COMPRESSED_LUMINANCE and other texture compression modes (in sf::Texture). This reduces memory usage by half. \ No newline at end of file
+Modify sfml to use GL_COMPRESSED_LUMINANCE and other texture compression modes (in sf::Texture). This reduces memory usage by half.
+Decrease memory usage even further (mostly in matrix /sync when part of large rooms) by using rapidjson SAX style API to stream downloaded json into the json parser, instead of using download_to_string with accumulate_string. \ No newline at end of file