Commit Graph

6 Commits

Author SHA1 Message Date
Bjorn Neergaard
864caa9d62 Hotfix for Cryo (JSON problems) and render issues (Internet Explorer)
Blame MSO
2015-12-02 19:48:16 -05:00
Kyle Spier-Swenson
8427287541 Optimizes json writer, attempt 2
I couldn't make this just use list2text on lists because nested lists are a thing.

This is almost as good, as saves a few more string free writes.
2015-12-02 03:50:04 -08:00
Kyle Spier-Swenson
9335734e3f forgot a quote 2015-11-30 23:22:22 -08:00
Kyle Spier-Swenson
6b8436558e Deleted 1 too many lines 2015-11-30 22:47:15 -08:00
Kyle Spier-Swenson
03f29f3b99 Makes json writer use 90% less string tree operations
"[thing1][thing2][thing3]" and text() both compile to use only 1 string tree operation regardless of the number of args.

list2text abuses this to write 128 items of the list in 1 go, and it also handles the separator in the proper way, so no reason to not use it.

this also cuts 1 string tree operation out of every associative list write as well as 1 out of the writing of every item in that list.

So now the string tree O notation should be O(n log2(M)) rather then O(N^M) (ish)
2015-11-30 22:45:31 -08:00
Bjorn Neergaard
56e359efb8 Refactor JSON
* Move into seperate module
* Use aboslute pathing
2015-11-26 07:11:28 -05:00