Splitting into separate tiddlers and wiki size

76 views
Skip to first unread message

Jon

unread,
Jun 7, 2020, 2:51:19 AM6/7/20
to TiddlyWiki
Hi,

I've got a large text file (2mb) exported from an electronic diary which I've imported into my wiki, mainly for safekeeping.

If I split the file into separate tiddlers for each date, would that massively increase the size of the wiki?

Thanks
Jon



Eric Shulman

unread,
Jun 7, 2020, 4:56:59 AM6/7/20
to TiddlyWiki
On Saturday, June 6, 2020 at 11:51:19 PM UTC-7, Jon wrote:
I've got a large text file (2mb) exported from an electronic diary which I've imported into my wiki, mainly for safekeeping.
If I split the file into separate tiddlers for each date, would that massively increase the size of the wiki?

There is *some* overhead for each tiddler definition, but it's not really all that much.
Here's an example of the HTML file content for an empty tiddler named "New Tiddler":
<div created="20200607084511503" modified="20200607084514434" tags="" title="New Tiddler">
<pre></pre>
</div>
As you can see, excluding the actual title text (New Tiddler), the overhead is just 87 bytes per tiddler.
Thus, the overhead for 1024 separate tiddlers would only be around 87K.  Considering that an empty
TiddlyWiki (with just the default TWCore, no plugins and no other content) is about 2.2Mb, the
overhead for creating separate tiddlers is generally insignificant compared with the total filesize.

enjoy,
-e

Jon

unread,
Jun 7, 2020, 5:03:35 AM6/7/20
to TiddlyWiki
Excellent - thanks Eric.
Reply all
Reply to author
Forward
Message has been deleted
0 new messages