The thing is that llvm optimizes away that loop (at least on my 64-bit computer), so it should take 0 seconds ;)
2012/5/24 Benoît Minisini <gam...@users.sourceforge.net> > Le 24/05/2012 02:32, Ru Vuott a écrit : > >> > >> CPU must be at 100% (on one core) in both case. The JIT > >> compiled > >> function is just faster. > >> > >> Just try with the FAST keyword, and without, and compare the > >> execution time. > >> > >> -- > >> Benoît Minisini > >> > >> > > > > I have 4 core. I tried "with" and "without" the word: Fast, but one CPU > stays on 100%. > > > > Did you read what I wrote? In both case CPU must be at 100% on one core. > Just that JIT makes the code faster, and so running it will take less > time. If 1000000000000 is too big, try a lower value. > > Regards, > > -- > Benoît Minisini > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user