Ace3

Addons
7,680,486 Downloads Last Updated: Aug 12, 2019 Game Version: 8.2.0

[patch] AceSerializer array-like table improvement

#503 By  drakie

Created Jul 5, 2019 Updated Jul 6, 2019

Open
Enhancment
Patch
drakie   added the tags
Enhancment
Patch
  Jul 5, 2019
Jul 5, 2019

Changing the serialization is a big problem for compatibility. If eg. you use this for inter-player communication, and one side has an updated version, they wouldn't be able to talk to each other.

 

With the shared nature of the libraries, there is also no good way to resolve that, since even installing an other addon with a newer version of the library could break a previously installed one.

 

If this efficiency is of key importance for you, might I suggest to simply do something like AceSerializer:Serialize(unpack(table)) if you know its an array list, and re-form the table manually on the other end?

Jul 6, 2019

hmm, ye I hadn't thought about interoperability of old and new versions of addons....


To post a comment, please login or register a new account.