On Tuesday, May 12, 2015 at 3:46:32 PM UTC-7, Kakyo wrote:
>
> It is not pure text.
> It has many {{{}}} blocks, basically my code-snippets collections for all 
> kinds of programming languages.
> But no fancy syntax, just {{{}}} code blocks, plus !(banners), and bullets.
>

Oh!.. I have an idea why your content seems to be slowing things down:

In TWClassic, the triple-braces syntax ({{{ ... }}}) is used to designate a 
simple <code>...</code> block for formatting purposes.
In TiddlyWiki 5+, triple-braces is used perform "filtered transclusion" 
(see http://tiddlywiki.com/#Transclusion%20in%20WikiText).

As a result, when if paste your TWC-formatted content into a TW5 tiddler, 
each code snippet ends up being passed to the core's filter engine for 
processing and, even though it is very unlikely that any of the code 
snippets are valid TiddlyWiki filters, it still creates quite a bit more 
overhead just to parse that content.

To avoid this, you should change all occurrences of {{{ and }}} to ``` 
(tripled back-ticks), which is the TW5 syntax for formatting a code block. 
 If you do this before you paste it into a TW5 tiddler editor, then 
hopefully the massive slowdown you are currently observing will simply 
disappear.

let me know how it goes...

enjoy,
-e
Eric Shulman
TiddlyTools / ELS Design Studios

YOUR DONATIONS ARE VERY IMPORTANT!
HELP ME TO HELP YOU - MAKE A CONTRIBUTION TO MY "TIP JAR"...
   http://TiddlyTools.github.com/fundraising.html#MakeADonation



-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/277d8106-e665-4cce-bb6a-b891c03a9081%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to