-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Performance fix in argparse interface
Instead of adding all global parameters to all subparsers (leading to a O(n^2) complexity where n is the number of tasks), just figure out the subparser that's needed and add it to that one Running nosetests test/parameter_test.py: Before: Ran 62 tests in 5.248s After: Ran 62 tests in 1.381s
- Loading branch information
Erik Bernhardsson
committed
Feb 2, 2015
1 parent
99eb230
commit f279df3
Showing
1 changed file
with
12 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters