Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
box: reduce box_process_lua Lua GC memory usage
<box_process_lua> function created a new GCfunc object for a handler having no upvalues depending on the request context on each call. The change introduces the following mapping: | <handler id> -> <handler GCfunc object> Initializing this mapping on Tarantool startup is aimed to reduce Lua GC memory usage. Reviewed-by: Sergey Ostanevich <sergos@tarantool.org> Reviewed-by: Vladislav Shpilevoy <v.shpilevoy@tarantool.org> Signed-off-by: Igor Munkin <imun@tarantool.org>
- Loading branch information
1 parent
88f0a85
commit 3a9dcbb
Showing
1 changed file
with
31 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters