Mercurial > babel > old > babel-test
comparison scripts/dump_global.py @ 549:423bb50cb8af
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)
author | fschwarz |
---|---|
date | Sun, 20 Mar 2011 06:01:11 +0000 |
parents | 85e1beadacb0 |
children |
comparison
equal
deleted
inserted
replaced
548:59db0f962e00 | 549:423bb50cb8af |
---|---|
10 # | 10 # |
11 # This software consists of voluntary contributions made by many | 11 # This software consists of voluntary contributions made by many |
12 # individuals. For the exact contribution history, see the revision | 12 # individuals. For the exact contribution history, see the revision |
13 # history and logs, available at http://babel.edgewall.org/log/. | 13 # history and logs, available at http://babel.edgewall.org/log/. |
14 | 14 |
15 import cPickle as pickle | |
15 import os | 16 import os |
16 import pickle | |
17 from pprint import pprint | 17 from pprint import pprint |
18 import sys | 18 import sys |
19 | 19 |
20 import babel | 20 import babel |
21 | 21 |