From 4907c5cc952e94e32cb0f95ea6f3be361b55d389 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sat, 3 Oct 2020 14:46:57 +0200 Subject: Reduce memory usage by cleaning up text not visible on the screen As a text, memory usage decreased from 150mb to 20mb --- TODO | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'TODO') diff --git a/TODO b/TODO index e2005b8..676147a 100644 --- a/TODO +++ b/TODO @@ -85,4 +85,5 @@ Update 4chan thread in real time, just like 4chan-x. Save the original event message, so when replying for example we can use the original message as the replying to message, rather than our converted "body" text. Remove tidy dependency and use my own html-parser. Add option to sort by other than timestamp for nyaa.si. -Add url preview for matrix (using matrix api, fallback to client url preview (using our own url preview project)). \ No newline at end of file +Add url preview for matrix (using matrix api, fallback to client url preview (using our own url preview project)). +Cleanup old messages in matrix (from matrix plugin), and instead either save them to disk or refetch them from server when going up to read old messages. \ No newline at end of file -- cgit v1.2.3