Hi:

Is there any way to avoid `decode_args` fully?

If you only need part fields, you can use other ways to parse it, for
example, we can use `string.find` + `string.sub`.


On Mon, Jan 6, 2020 at 3:36 PM hui li <[email protected]> wrote:

> Hi, all.
> The ngx.decode_args interface is time consuming. Is there a better
> optimization method?
> I have two ideas, the first, adding some judge before calling the
> ngx.decode_args. Second, adjust the parameters. However, I looked through
> the official documentation and best practices, and did not find this
> function optimization technique.
> Flame diagram see attachment.
>


-- 
*MembPhis*
My github: https://github.com/membphis
Apache APISIX: https://github.com/apache/incubator-apisix

Reply via email to