praveenvvstgy / crack-language

Automatically exported from code.google.com/p/crack-language
Other
0 stars 0 forks source link

Compiling global variable references is extremely slow #85

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
remove the "main()" function wrapper around the meat of the test_binops script. 
 Run the script, watch the grass grow.

My first impulse is to profile this to see where the slowness is coming from.

Original issue reported on code.google.com by mind...@gmail.com on 6 Jun 2011 at 3:29

GoogleCodeExporter commented 9 years ago
Confirmed that this is still an issue.  Compiling and running test_binops takes 
more than twice as long if the work is done in globals as it does in main().

Original comment by mind...@gmail.com on 22 Aug 2012 at 11:47