mathematical expressions - Mathematica is getting slow when repeatedly starting an external program -


i found strange phenomenon mathematica getting slow when repeatedly started external program using readlist. example, following code display significant increase of cpu time each 'ls' command (my platform os x):

data = table[timing[readlist["!ls"]], {100000}][[all, 1]]; listplot[data] 

this phenomenon seems ubiquitous other external programs. can suggest me how avoid speed down?


Comments

Popular posts from this blog

How has firefox/gecko HTML+CSS rendering changed in version 38? -

javascript - Complex json ng-repeat -

jquery - Cloning of rows and columns from the old table into the new with colSpan and rowSpan -