diff options
author | Felix Schwarz <felix.schwarz@oss.schwarz.eu> | 2011-03-20 06:01:11 +0000 |
---|---|---|
committer | Felix Schwarz <felix.schwarz@oss.schwarz.eu> | 2011-03-20 06:01:11 +0000 |
commit | 2b7c735061f4da2c4ee5e7a2988b3888c0788172 (patch) | |
tree | aee8c588246a77958c9f55cc13ae3772dfc40545 /scripts | |
parent | 33245d76860fbfb79392b9ee87c30eef218df8d6 (diff) | |
download | babel-2b7c735061f4da2c4ee5e7a2988b3888c0788172.tar.gz |
use cPickle instead of pickle for better performance (fixes #225)
import_cldr on my system was about 20% faster with this patch (13.9 sec vs. 16.9 sec)
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/dump_global.py | 2 | ||||
-rwxr-xr-x | scripts/import_cldr.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/scripts/dump_global.py b/scripts/dump_global.py index 42bd599..ad6c15e 100755 --- a/scripts/dump_global.py +++ b/scripts/dump_global.py @@ -12,8 +12,8 @@ # individuals. For the exact contribution history, see the revision # history and logs, available at http://babel.edgewall.org/log/. +import cPickle as pickle import os -import pickle from pprint import pprint import sys diff --git a/scripts/import_cldr.py b/scripts/import_cldr.py index 49d8e23..ed724e4 100755 --- a/scripts/import_cldr.py +++ b/scripts/import_cldr.py @@ -12,9 +12,9 @@ # individuals. For the exact contribution history, see the revision # history and logs, available at http://babel.edgewall.org/log/. +import cPickle as pickle from optparse import OptionParser import os -import pickle import re import sys try: |