[tarantool-patches] Re: [PATCH v1 1/1] implement mp_stack class

Konstantin Osipov kostja at tarantool.org
Thu Jan 24 20:58:55 MSK 2019

* Kirill Shcherbatov <kshcherbatov at tarantool.org> [19/01/23 11:24]:
> Introduced a new mp_stack class to make complex msgpack parsing.
> The structure is needed in order to facilitate the decoding
> nested MP_ARRAY and MP_MAP msgpack containers without recursion.
> This allows you to determine that the parsing of the current
> container is complete.
> Reworked mp_snprint and mp_fprint routines to use mp_stack
> instead of recursion.

Sorry to be nitpicking, but do we really need more than 65k frames?

With 2-byte frame identifiers we can fit a single frame into a
single 8-byte register.  
> Needed for #1012

Konstantin Osipov, Moscow, Russia, +7 903 626 22 32
http://tarantool.io - www.twitter.com/kostja_osipov

More information about the Tarantool-patches mailing list