summaryrefslogtreecommitdiffstats
path: root/shout.php
diff options
context:
space:
mode:
authorPaul Arthur <paul.arthur@flowerysong.com>2013-06-11 12:37:58 -0400
committerPaul Arthur <paul.arthur@flowerysong.com>2013-06-12 13:46:39 -0400
commit05009329cf9e5ad8601b01844716d6d5ed244daa (patch)
treefcd3a0eeaf8ff22bef07e456be60ec67f52101da /shout.php
parenta957ab19cdf3e86fe78a4bf82f287d8c622cf67e (diff)
downloadampache-api.tar.gz
ampache-api.tar.bz2
ampache-api.zip
Add naive compaction for Query serializationapi
Can be very efficient with the right input, but probably has degenerative cases where it increases the size. Worst-case size increase is one character per ID in the result set, so it shouldn't be an issue. String lengths for a large search result that was unstorable before: serialize: 1991874 json_encode: 756249 cooked: 244 And some with more discontinuity: serialize: 1772238 json_encode: 674751 cooked: 37950 serialize: 164942 json_encode: 65771 cooked: 25369
Diffstat (limited to 'shout.php')
0 files changed, 0 insertions, 0 deletions