antirez/lua-cmsgpack — pull request #30 by mattsta (2014-04-07 07:05:20+00:00)
Title: Incorporate all issues, add tests, add features, improve performance.

I spent this weekend living inside lua-cmsgpack code. We now have a newly updated and much improved lua-cmsgpack implementation.

All current tests pass using Lua 5.1.5 and Lua 5.3-work2.

Changes included:
- Improve table vs. array detection
- Improve packing +-inf
- Add multiple pack/unpack support
- Add cmsgpack.safe module variant
- Add local build infrastructure for easier testing
- Add user-controlled unpack support limiting returned objects
- Add Lua 5.3 compatibility
- Remove an unnecessary malloc
- Use Lua memory allocator instead of malloc for buffer creation

Issues involved:
- closes #16 - allow multi pack/unpack by default
- closes #10 - unpack one/limit API added
- closes #13 and closes #20 - use Lua allocator
- closes #15 - (included in #16)
- ignores #22 because it's confusing
- closes #23 - fixed elsewhere
- closes #26 - extracted some useful parts from a difficult commit
- closes #28 - we started tagging versions again recently
- closes #27 - that failure case works for me now