tokers commented on a change in pull request #6426:
URL: https://github.com/apache/apisix/pull/6426#discussion_r815735569



##########
File path: apisix/plugins/ext-plugin/init.lua
##########
@@ -612,10 +612,27 @@ local rpc_handlers = {
             end
 
             local len = rewrite:RespHeadersLength()
+            local excludeRespHeader = {

Review comment:
       We can just use a hash-like to save these headers so we don't need to 
iterate all of them, i.e. we can reduce the time complicity from O(N^2) => O(N).




-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to