LibStringStorage-1.0

This project is experimental.

This project is only experimental and may change drastically between now and when it comes out of experimental status. It may even be disapproved once that happens, worst-case.

Be forewarned before downloading anything from this project.

It seems Blizzard fixed this issue in the 4.2.0a bugfix patch.You can still use LibStringStorage to reduce static memory usage and loading screen length, as well as saving a bit of HDD space with your SavedVar files.

LibStringStorage is designed to circumvent a limitation of the Blizzard SavedVar system - the SV system only allows a maximum of 2^16 lines for SavedVar files, and creates a new line for every table key-value pair. Some addons - especially logging utilities - often run into issues with this cap since all SavedVar data will basically be lost when the cap is reached (as the client will run into a syntax error when trying to read the cut-off file).

LibStringStorage avoids this issue by encoding tables into single-line strings with very minor overhead. As there is no limit to how many characters a single line can have in a SavedVar file, this allows up to 2^16-2 tables to be stored in a single SavedVar file.

See the API page for details.

You must login to post a comment. Don't have an account? Register to get one!

Facts

Date created
Aug 11, 2011
Category
Last update
Aug 11, 2011
Development stage
Planning
License
GNU Lesser General Public License version 3 (LGPLv3)
Downloads
0

Authors