From 992f9e23c7ee819ad0dfac0bd6224d8330366960 Mon Sep 17 00:00:00 2001 From: meir Date: Sun, 6 Feb 2022 14:30:15 +0200 Subject: [PATCH] Move user eval function to be located on Lua registry. Today, Redis wrap the user Lua code with a Lua function. For example, assuming the user code is: ``` return redis.call('ping') ``` The actual code that would have sent to the Lua interpreter was: ``` f_b3a02c833904802db9c34a3cf1292eee3246df3c() return redis.call('ping') end ``` The wraped code would have been saved on the global dictionary with the following name: `f_