diff options
author | Paul Arthur <paul.arthur@flowerysong.com> | 2013-06-11 12:37:58 -0400 |
---|---|---|
committer | Paul Arthur <paul.arthur@flowerysong.com> | 2013-06-12 13:46:39 -0400 |
commit | 05009329cf9e5ad8601b01844716d6d5ed244daa (patch) | |
tree | fcd3a0eeaf8ff22bef07e456be60ec67f52101da /images/icon_random.png | |
parent | a957ab19cdf3e86fe78a4bf82f287d8c622cf67e (diff) | |
download | ampache-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 'images/icon_random.png')
0 files changed, 0 insertions, 0 deletions