Posts: 1,690
Joined: Oct 2015
Reputation:
182
I am using the textviewer feature to display some addon performance data which I keep in a separate SQLite database. It is working fine but I am wondering what the limits are either by number of rows or number of bytes that the textviewier can display ? I've tested displaying 150 rows with around 12K bytes and it worked fine but I am wondering what the upper limits are so that I ensure I don't exceed them.
Thanks,
Jeff
Posts: 1,663
Joined: Jun 2011
Reputation:
119
2021-06-22, 13:23
(This post was last modified: 2021-06-22, 13:25 by Roman_V_M.)
IIRC, text is stored as std::string
so the limit is imposed by OS and can be quite huge especially on 64-bit OSes. I don't think that any reasonable text can hit the limit.
Posts: 1,690
Joined: Oct 2015
Reputation:
182
Thanks for the response. I am going to limit the output to 500 lines in my addon and provide the user the ability to query a subset of the data (i.e. by date, by playlist etc..). I don't see anyone scrolling through more than 500 lines.
Jeff