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

Caching parameter metadata #16

Open
fabianfreyer opened this issue Jul 7, 2018 · 0 comments
Open

Caching parameter metadata #16

fabianfreyer opened this issue Jul 7, 2018 · 0 comments
Labels
enhancement New feature or request performance Performance Optimizations
Milestone

Comments

@fabianfreyer
Copy link
Contributor

At the moment we query a sysctl every time we read or write a property, to get the type and maximum size of the value. As these are unlikely to change during the lifetime of the library (should check whether they can be changed without rebooting), we can aggressively cache these.

@fabianfreyer fabianfreyer added enhancement New feature or request performance Performance Optimizations labels Jul 7, 2018
@fabianfreyer fabianfreyer added this to the Future milestone Jul 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request performance Performance Optimizations
Projects
None yet
Development

No branches or pull requests

1 participant