()
Sets options turned on by switch '-o'
Sets options turned on by switch '-o'
Sets options turned on by switch - o
def setOptimize():
    """
    Sets options turned on by switch '-o'
    """

    #conf.predictOutput = True
    conf.keepAlive = True
    conf.threads = 3 if conf.threads < 3 else conf.threads
    conf.nullConnection = not any((conf.data, conf.textOnly, conf.titles, conf.string, conf.notString, conf.regexp, conf.tor))

    if not conf.nullConnection:
        debugMsg = "turning off --null-connection switch used indirectly by switch -o"
        logger.debug(debugMsg)
def setOptimize ( ) : #conf.predictOutput = True conf . keepAlive = True conf . threads = 3 if conf . threads < 3 else conf . threads conf . nullConnection = not any ( ( conf . data , conf . textOnly , conf . titles , conf . string , conf . notString , conf . regexp , conf . tor ) ) if not conf . nullConnection : debugMsg = "turning off --null-connection switch used indirectly by switch -o" logger . debug ( debugMsg )