> My latest code[1] is now relatively close to being on par with > twikifier. It listens on a socket for info about what to render > (tiddler title and context), resolves dependencies, gets them, > renders, returns the output.
That's great. Do you have any impression of the performance compared to the old code? > Things I've noticed: > > * As expected, having the type info discussed above would be useful, > most especially in the case where null is returned. If that null can > be qualified as not needing text, then a single request (for skinny > json of the context collection) can be made rather than either a fat > request or a many single requests. The current code does the latter > and when the number of tiddlers in the context gets high, up over a > few hundred, it is noticed. Yup, I'll be fixing that up in the next day or two. > * This may have changed already, but it appears that when generating > links to tiddlers the href is not getting an encodeURIComponent > applied, thus [[foo bar]] becomes href="foo bar" where it presumably > should be "foo%20bar". I'm mid horrendous refactoring, but have added a test for this. > The next things to do for me are: > > * get caching of remote tiddlers and/or stores back in > * translate the tiddlyspace link syntax and add it to macros I'd add that there are a lot of standard TiddlyWiki macros that still need to be implemented. I'm currently doing a lot of rework around the interactive aspects of macros (selective refresh and macro event dispatch), and so there is a small chance that the macro API will change over the next few days. I'm also in the process of transferring the code to the Jermolene/TiddlyWiki5 repository. Best wishes Jeremy > [1] https://github.com/cdent/cook.js/tree/wikify > > -- > You received this message because you are subscribed to the Google Groups > "TiddlyWikiDev" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/tiddlywikidev?hl=en. > -- You received this message because you are subscribed to the Google Groups "TiddlyWikiDev" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/tiddlywikidev?hl=en.
