H-Chris233 commented on PR #422:
URL: https://github.com/apache/casbin-rs/pull/422#issuecomment-5314669862

   Follow-up: I pushed an additional optimization on top of this branch — a 
zero-allocation fast path for `has_link` on chain-shaped role hierarchies, with 
automatic fallback to the legacy BFS on branching graphs (behavior is 
identical, guarded by differential tests).
   
   Local benchmarks (alternating ABAB rounds):
   - `benchmark_role_manager_small / medium / large`: **−20% / −26% / −76%**
   - Chain-shaped reachability micro-benchmark: **~55–67% faster**
   - Branching / deep hierarchies: no significant change
   
   Ready for review.


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