Tarantool development patches archive
 help / color / mirror / Atom feed
* [Tarantool-patches] [PATCH 0/5] Static buf in Lua, part 3
@ 2021-07-27 21:24 Vladislav Shpilevoy via Tarantool-patches
  2021-07-27 21:24 ` [Tarantool-patches] [PATCH 1/5] uuid: introduce and use luaL_pushuuidstr() Vladislav Shpilevoy via Tarantool-patches
                   ` (6 more replies)
  0 siblings, 7 replies; 20+ messages in thread
From: Vladislav Shpilevoy via Tarantool-patches @ 2021-07-27 21:24 UTC (permalink / raw)
  To: tarantool-patches, gorcunov, sergos

Here we go again.

I see that Lua UUID helpers have L suffix and decimal helpers do not. Have no
idea why, but decided not to change it here since it is not related to the patch
goal.

I validated other usages of tt_uuid_str(), decimal_str(), tt_sprintf(),
tt_statuc_buf(), tuple_str(), mp_str() and some others - they all seem to be
fine now. But you can never say for sure.

Branch: http://github.com/tarantool/tarantool/tree/gerold103/gh-6259-static_buf-part3
Issue: https://github.com/tarantool/tarantool/issues/6259

Vladislav Shpilevoy (5):
  uuid: introduce and use luaL_pushuuidstr()
  info: use luaL_pushuuidstr() for box.info uuids
  decimal: rename decimal_to_string to decimal_str
  decimal: introduce decimal_to_string
  decimal: introduce and use lua_pushdecimalstr()

 .../unreleased/gh-6259-static-buf-in-lua.md   |   5 +
 src/box/lua/info.c                            |   8 +-
 src/box/lua/net_box.c                         |   4 +-
 src/box/lua/serialize_lua.c                   |   2 +-
 src/lib/core/decimal.c                        |  10 +-
 src/lib/core/decimal.h                        |  14 +-
 src/lib/core/mp_decimal.c                     |   4 +-
 src/lua/decimal.c                             |  14 +-
 src/lua/decimal.h                             |   3 +
 src/lua/utils.c                               |  13 +
 src/lua/utils.h                               |   3 +
 ...> gh-5632-6050-6259-gc-buf-reuse.test.lua} |  85 +++-
 test/unit/decimal.c                           |   9 +-
 test/unit/decimal.result                      | 394 +++++++++---------
 third_party/lua-cjson/lua_cjson.c             |   2 +-
 third_party/lua-yaml/lyaml.cc                 |   2 +-
 16 files changed, 360 insertions(+), 212 deletions(-)
 create mode 100644 changelogs/unreleased/gh-6259-static-buf-in-lua.md
 rename test/app-tap/{gh-5632-6050-gc-buf-reuse.test.lua => gh-5632-6050-6259-gc-buf-reuse.test.lua} (68%)

-- 
2.24.3 (Apple Git-128)


^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2021-08-02 19:45 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-27 21:24 [Tarantool-patches] [PATCH 0/5] Static buf in Lua, part 3 Vladislav Shpilevoy via Tarantool-patches
2021-07-27 21:24 ` [Tarantool-patches] [PATCH 1/5] uuid: introduce and use luaL_pushuuidstr() Vladislav Shpilevoy via Tarantool-patches
2021-07-29 11:30   ` Sergey Ostanevich via Tarantool-patches
2021-07-27 21:24 ` [Tarantool-patches] [PATCH 2/5] info: use luaL_pushuuidstr() for box.info uuids Vladislav Shpilevoy via Tarantool-patches
2021-07-29 11:38   ` Sergey Ostanevich via Tarantool-patches
2021-08-01 15:03     ` Vladislav Shpilevoy via Tarantool-patches
2021-08-01 17:01       ` Sergey Ostanevich via Tarantool-patches
2021-07-27 21:24 ` [Tarantool-patches] [PATCH 3/5] decimal: rename decimal_to_string to decimal_str Vladislav Shpilevoy via Tarantool-patches
2021-07-29 11:41   ` Sergey Ostanevich via Tarantool-patches
2021-08-01 15:03     ` Vladislav Shpilevoy via Tarantool-patches
2021-08-01 17:01       ` Sergey Ostanevich via Tarantool-patches
2021-07-27 21:24 ` [Tarantool-patches] [PATCH 4/5] decimal: introduce decimal_to_string Vladislav Shpilevoy via Tarantool-patches
2021-07-29 11:52   ` Sergey Ostanevich via Tarantool-patches
2021-08-01 15:04     ` Vladislav Shpilevoy via Tarantool-patches
2021-08-01 17:06       ` Sergey Ostanevich via Tarantool-patches
2021-07-27 21:24 ` [Tarantool-patches] [PATCH 5/5] decimal: introduce and use lua_pushdecimalstr() Vladislav Shpilevoy via Tarantool-patches
2021-07-29 12:28   ` Sergey Ostanevich via Tarantool-patches
2021-08-01 15:04     ` Vladislav Shpilevoy via Tarantool-patches
2021-07-27 21:39 ` [Tarantool-patches] [PATCH 0/5] Static buf in Lua, part 3 Cyrill Gorcunov via Tarantool-patches
2021-08-02 19:45 ` Vladislav Shpilevoy via Tarantool-patches

Tarantool development patches archive

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://lists.tarantool.org/tarantool-patches/0 tarantool-patches/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 tarantool-patches tarantool-patches/ https://lists.tarantool.org/tarantool-patches \
		tarantool-patches@dev.tarantool.org.
	public-inbox-index tarantool-patches

Example config snippet for mirrors.


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git