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> (cherry picked from commit e88c0d2)
- Loading branch information
1 parent
c74d272
commit e13698f
Showing
1 changed file
with
36 additions
and
5 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