Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Model Cleanup #125

Merged
merged 1 commit into from
Jul 23, 2021
Merged

chore: Model Cleanup #125

merged 1 commit into from
Jul 23, 2021

Conversation

EmperorYP7
Copy link
Member

@EmperorYP7 EmperorYP7 commented Jul 20, 2021

Signed-off-by: Yash Pandey (YP) yash.btech.cs19@iiitranchi.ac.in

Description

With reference to casbin/casbin-website#255, I tried to clean up the implementation of the model by reducing the numbers of constructor calls for std::vector, structured bindings and more.

Points to note

This might not affect the actual performance of the enforcer directly, but is a valid and necessary cleanup.

Signed-off-by: Yash Pandey (YP) <yash.btech.cs19@iiitranchi.ac.in>
@EmperorYP7 EmperorYP7 marked this pull request as ready for review July 20, 2021 19:39
@EmperorYP7
Copy link
Member Author

EmperorYP7 commented Jul 20, 2021

Screenshot 2021-07-21 at 1 09 24 AM

Looks like some process killed the workflow. I think it is due to resource limiters armed in the GH Actions environment. The benchmarks will pass if we rerun the action as it did here.

@hsluoyz hsluoyz merged commit 0025375 into casbin:master Jul 23, 2021
@EmperorYP7 EmperorYP7 deleted the model-cleanup branch July 26, 2021 19:27
@github-actions
Copy link

🎉 This PR is included in version 1.27.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants