lay some groundwork for a faster Serialize<T> that returns a string; basically, let's not pay the TextWriter tax when it's not needed
derp derp WAE
more infrastructure
even more infrastructure
ok, ThunkWriter is thunked in most places in InlineSerializer now... Methods still needs a lot of love though
proxy all fetches for Method stuff in InlineSerializer so I can swap out the proper method w.r.t. ThunkWriter
actually give ThunkWriter a (bad) implementation
heyyy, all the tests that matter pass now
noop commit; just making a note that this is about where this appears to be faster for going straight to strings (TextWriter, still better when your streaming, but if you can eat the memory....)
merge
fix IReadOnlyDictionary support in ToString versions
faster ThunkWriter impl; going to a char[] instead of through StringBuilder
avoid allocating or pinning known constant strings; instead go right for a super-fast Array.Copy
woops; unbreak everything
convert calls to ThunkWriter.Write to ThunkWriter.WriteConstant if it's actually a constant string being written
I control the impl here, I say inline it all
merge
restore stream writers; fix a name I must have been drunk when I chose
gut Experiments project
targetted testing here; looks like arrays/lists are worse in the direct-to-string case, need to find out why