Speed up startup time a bit

_collections is the C implementation (and where defaultdict lies), and
is as such already loaded when the interpreter is launched. collections
imports a bunch of other useless stuff we're not interested in.
This commit is contained in:
Vgr E.Barry 2015-06-14 23:13:49 -04:00
parent d069345c2c
commit 77d1eda074
3 changed files with 3 additions and 3 deletions

View File

@ -1,5 +1,5 @@
import fnmatch import fnmatch
from collections import defaultdict from _collections import defaultdict
import botconfig import botconfig
from oyoyo.parse import parse_nick from oyoyo.parse import parse_nick

View File

@ -1,4 +1,4 @@
from collections import defaultdict from _collections import defaultdict
import math import math
from src import events from src import events

View File

@ -25,7 +25,7 @@ import botconfig
import traceback import traceback
from src import decorators from src import decorators
from datetime import datetime, timedelta from datetime import datetime, timedelta
from collections import defaultdict from _collections import defaultdict
import threading import threading
import copy import copy
import time import time