Skip to content

Improve the performance of the new BatchEnforce() API #710

@hsluoyz

Description

@hsluoyz

We add a very raw BatchEnforce() API here: #617

It simply call enforce() in a for loop. The performance is still low if you want to list all the objects that you have access. Our next step is to do something like "set" operation, e.g., given all the objects as a set, input it into the matcher and calculate the subset that fulfills the matcher, then we have the allowed object list.

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions