HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Yay! Yay! A new computer! Yay!

01-18-2007, 04:14 AM#1
CaptainPicard
I don't know how people get around saying "you'll only see this if you do it ten thousand times a second" and things like that. In my experience, running two dozen IF->THENs every 0.04 seconds (that is, a simple IF->THEN 625 times per second) can be a noticeable drag on a 2.4GHz Celeron D.

So, where are people coming up with these ideas about 10000 times/second?

Moreover, what's the deal with JASS compiling? I'm assuming that it's like python or Matlab code and does not compile. However, does it call functions written in C++ which are compiled? We have similar tools in the molecular simulations world--written in python, calling C++ functions so you can actually have a reasonable visualization experience.
01-18-2007, 04:16 AM#2
maximilianx
how does this belong in the scripts and triggers section?
01-18-2007, 05:23 AM#3
CaptainPicard
Sorry.



Thought of it as I was considering how to optimize some of my code.
01-18-2007, 07:30 AM#4
Pheonix-IV
When people say "you need to do X 10,000 times a second" what they actually mean is "alot of times per second". The average human can't imagine any number bigger than about 50 - 60, sure you can imagine the number as figures, but when you try to imagine 50 objects, it just fades away into a generic 'lots'. 10,000 is a nice number because its ten and then one-thousand, so it sounds really big. They don't actually know how many times you need to do it, they just know you need to do it alot, so they pull out a big sounding number and plaster it there.