You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2020/10/06 13:56:55 UTC

[GitHub] [apisix] membphis opened a new issue #2361: perf: use `table.isarray` which is can be JIT compiled

membphis opened a new issue #2361:
URL: https://github.com/apache/apisix/issues/2361


   We can use `table.isarray` to check whether the Lua table is a pure array-like table.
   
   https://github.com/apache/apisix/blob/master/apisix/core/config_local.lua#L60
   
   Here is the doc link:
   
   doc link: https://github.com/openresty/luajit2#tableisarray


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix] moonming closed issue #2361: perf: use `table.isarray` which is can be JIT compiled

Posted by GitBox <gi...@apache.org>.
moonming closed issue #2361:
URL: https://github.com/apache/apisix/issues/2361


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix] moonming closed issue #2361: perf: use `table.isarray` which is can be JIT compiled

Posted by GitBox <gi...@apache.org>.
moonming closed issue #2361:
URL: https://github.com/apache/apisix/issues/2361


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix] tokers commented on issue #2361: perf: use `table.isarray` which is can be JIT compiled

Posted by GitBox <gi...@apache.org>.
tokers commented on issue #2361:
URL: https://github.com/apache/apisix/issues/2361#issuecomment-705933840


   I have committed a PR to optimize it: https://github.com/apache/apisix/pull/2365 :).


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix] tokers commented on issue #2361: perf: use `table.isarray` which is can be JIT compiled

Posted by GitBox <gi...@apache.org>.
tokers commented on issue #2361:
URL: https://github.com/apache/apisix/issues/2361#issuecomment-705933840


   I have committed a PR to optimize it: https://github.com/apache/apisix/pull/2365 :).


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org