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

Provide an API to call name functions without having them open the data files on every call. #3

Open
saebyn opened this issue Dec 12, 2013 · 2 comments · May be fixed by #17
Open

Provide an API to call name functions without having them open the data files on every call. #3

saebyn opened this issue Dec 12, 2013 · 2 comments · May be fixed by #17

Comments

@saebyn
Copy link

saebyn commented Dec 12, 2013

Maybe a class that opens the data files on init, then provides methods similar to the existing get_*_name functions?

@treyhunner
Copy link
Owner

👍 I like this idea

@pypetey
Copy link

pypetey commented Oct 16, 2014

Great idea.

It's really slow when you generate a lot of data. I generated 200k db records in 23 minutes with names. Without names it took about 2-3 minutes. So without this optimization it's not the best choice to generate massive amounts of good looking test data.

@AusIV AusIV linked a pull request Jun 20, 2016 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants