diff babel/localedata.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 b33c36615fe9
children
line wrap: on
line diff
--- a/babel/localedata.py
+++ b/babel/localedata.py
@@ -18,7 +18,7 @@
 """
 
 import os
-import pickle
+import cPickle as pickle
 try:
     import threading
 except ImportError:
Copyright (C) 2012-2017 Edgewall Software