Working on optimization of one web-site, I found, that finally pickling of QuerySets becomes bottleneck in caching, and no matter how clever your code could be, unpickling of relatively large QS in time of 1-2secs will kill all effort.
Does anybody encountered this?
If you are currently just using pickle, might I recommend cPickle which is purported to be up to 1000 times faster.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With