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

ConstStrategy::enum() should cache generated lists. #5

Closed
ADmad opened this issue Sep 25, 2015 · 0 comments
Closed

ConstStrategy::enum() should cache generated lists. #5

ADmad opened this issue Sep 25, 2015 · 0 comments

Comments

@ADmad
Copy link
Contributor

ADmad commented Sep 25, 2015

Currently ConstStrategy::enum() does the process of extracting enum list on each call.

Given the use of reflection and multiple iterations of array manipulation and callbacks usage, the whole operation is non trivial and it would be better the lists were cached to avoid the overhead on subsequent requests for the same list.

@ADmad ADmad mentioned this issue Oct 11, 2015
@ADmad ADmad closed this as completed Oct 13, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants