python - Scalability of simple algorithms -


i wish test scalability of 2 implementations of algorithm (latent dirichlet allocation) in python - gensim , lda . of google search results talk scalability of websites , web-based applications.

how test scalability of simple algorithm (not entire system)? best practices kept in mind ?

the scalability of algorithm determined time complexity, simple algorithm it's matter of counting maximum number of operations. loop iterating on n elements has time complexity o(n), meaning scale linear function, , on. loop nested loop o(n^2).

for more in-depth explanation: http://en.wikipedia.org/wiki/time_complexity


Comments

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

php - Bypass Geo Redirect for specific directories -

php - .htaccess mod_rewrite for dynamic url which has domain names -