1
0
mirror of https://github.com/zedeus/nitter.git synced 2025-12-08 04:55:37 -05:00

Improve memory usage by making Thread a ref object

This commit is contained in:
Zed
2019-07-03 07:18:19 +02:00
parent 640bb2fadf
commit 92e3df411f
4 changed files with 7 additions and 4 deletions

View File

@@ -91,7 +91,7 @@ type
photos*: seq[string]
poll*: Option[Poll]
Thread* = object
Thread* = ref object
tweets*: seq[Tweet]
more*: int