I have a pretty simple script which gets 2 parameters from the user:
1)Geodatabase location
2)Spatial reference
It then creates a dataset with 6 feature classes. It also adds a large amount of fields to each each feature class, and by large I mean no more than 20.
It also adds defaults to certain fields.
My question is:
Could I speed up the running of the tool by organizing the code differently?
Right now I have it so it creates the dataset, then creates the first feature class and then the fields it needs and any defaults for those fields.
Could it be quicker to have it make all the features classes at once, then all the fields, then all the defaults? Or would it make no difference?
Currently, it's taking about 4 minutes to do everything.
Thanks for any help.