diff babel/core.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 e8da49740876
children
line wrap: on
line diff
--- a/babel/core.py
+++ b/babel/core.py
@@ -14,7 +14,7 @@
 """Core locale representation and locale data access."""
 
 import os
-import pickle
+import cPickle as pickle
 
 from babel import localedata
 
Copyright (C) 2012-2017 Edgewall Software