Changeset 2328
- Timestamp:
- Feb 12, 2010 12:12:24 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
coopr.pysp/trunk/coopr/pysp/phinit.py
r2325 r2328 271 271 type="int", 272 272 default=0) 273 parser.add_option("-- enable-gc",274 help=" Enable the python garbage collecter. Default is True.",275 action="store_true", 276 dest=" enable_gc",277 default= True)273 parser.add_option("--disable-gc", 274 help="Disable the python garbage collecter. Default is False.", 275 action="store_true", 276 dest="disable_gc", 277 default=False) 278 278 279 279 parser.usage=usage_string … … 608 608 return 609 609 610 # for a one-pass execution, garbage collection doesn't make 611 # much sense - so it is disabled by default. Because: It drops 612 # the run-time by a factor of 3-4 on bigger instances. 613 if options.enable_gc is False: 610 if options.disable_gc is True: 614 611 gc.disable() 615 612 else:
Note: See TracChangeset
for help on using the changeset viewer.