Comparison

LJ luisjosenovoa at gmail.com
Mon Sep 22 18:57:22 CEST 2014


Hi All,

Quick question here. In the code I am working on I am apparently doing a lot of dictionary lookups and those are taking a lot of time. 
I looked at the possibility of changing the structure and I found about the numpy structured arrays.
The concrete question is: what would be the difference between using one or the other in terms of performance? meaning looping and performing checks an operations on them?

Thanks,



More information about the Python-list mailing list