hsluoyz commented on issue #435:
URL: 
https://github.com/apache/casbin-pycasbin/issues/435#issuecomment-5816447369

   Thanks for the detailed report and repro! Fixed in 
https://github.com/apache/casbin-pycasbin/commit/b7c36d90dcd72fafd8cb0388d340f1788faf62d1.
 `delete_link` now skips the pattern loop when no matching function is set, the 
same way `add_link` does. With your script, removing one link went from ~259 ms 
to ~2 ms.


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to