[Numpy-discussion] seeking advice on a fast string->array conversion

Pauli Virtanen pav at iki.fi
Tue Nov 16 09:31:11 EST 2010


Tue, 16 Nov 2010 09:20:29 -0500, Darren Dale wrote:
[clip]
> module. So I am wondering about the performance of np.fromstring:

Fromstring is slow, probably because it must work around locale-
dependence of the underlying C parsing functions. Moreover, the Numpy 
parsing mechanism generates many indirect calls.

-- 
Pauli Virtanen




More information about the NumPy-Discussion mailing list