From: Francesc A. <fa...@ca...> - 2005-09-05 08:59:13
|
El dv 02 de 09 del 2005 a les 21:38 +0200, en/na Francesco Del Degan va escriure: > For a table, composed by 2 columns, an integer and a float, i've reached > 367KRows/s... very good! Yeah, this is more or less the kind of performance that you can expect from PyTables. > But performance on chararrays is very poor, in comparison to numeric ones= . >=20 > Adding a CharArray of 10^6 elements of 1 byte drop the performance to > 100Krows/s, and add two CharArray of byte, > drop to 30Krows/s. It also seems independent by maximum string length. Yes, in experience, including strings in tables drops the append performance significantly. I don't know were is exactly the problem, but if you are willing to profile this case in order to see where the hot spots are, that would be really interesting. Cheers, --=20 >0,0< Francesc Altet http://www.carabos.com/ V V C=E1rabos Coop. V. Enjoy Data "-" |