You are viewing a single comment's thread from:

RE: Python Code Speed Improvement

in #python8 years ago

...and then you'd have to eval that long string to get an array which would be even slower, not to say completely unsafe 😉

If your calculation takes 2 hours, then I'd say replacing for loops with manually typed array accesses is not the best place to optimize. Most likely something else takes long to finish.

Have you tried profiling your code?

Coin Marketplace

STEEM 0.09
TRX 0.32
JST 0.033
BTC 109244.23
ETH 3865.13
USDT 1.00
SBD 0.60