Vorne/jansson — pull request #3 by chadbarth (2014-12-18 16:59:49+00:00)
Title: Configure Jansson to only allocate 4 hashtable buckets for empty object

OK, I already merged the latest master from Jansson this morning. The only actual code change was a slight variation of the PR I submitted to them (see https://github.com/akheron/jansson/commit/abaae7630ec9df0adca1ec012ddbcc4b211e54f1). Oh, I guess there was one lex flag change that shouldn't effect us either.

Nonetheless, this PR uses the capability supplied in the mentioned commit to move our initial hashtable number of buckets down to 4, which fits into a 32 byte block. This should significantly reduce our usage of 64 byte blocks.

Doing this actually breaks our unit tests slightly because of the hashing algorithm behaves differently with the smaller initial buckets. I'll have another PR coming to fix that.