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

Only load pieces of libraries that are used to speed up processing time #4

Open
TechnologyClassroom opened this issue Oct 12, 2020 · 0 comments

Comments

@TechnologyClassroom
Copy link
Owner

TechnologyClassroom commented Oct 12, 2020

Decrease runtime by only loading pieces of libraries that are used in dicemechanicsim.py and plotdicemechanic.py. Instead of lines like this:

import csv
import pandas as pd

Check which pieces are actually used an only import those pieces with imports like this:

from argparse import ArgumentParser
from random import randrange

Make sure to adjust usage of those library calls as the syntax changes and test that the program still works.

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

1 participant