| 05-09-2008, 10:13 AM | #1 |
I finished creating a new vector library, here's the pastebin link. http://www.wc3campaigns.net/pastebin...261aa85a58cf99 It's similar to antitarf's vjass vectors, so there's no reason to submit it. But it has several useful functions that aren't included in other vector systems, so I'll put a link here in case anyone wants to grab it or post feedback. |
| 05-10-2008, 01:40 PM | #2 |
Why do you use such non-capitalized function names? Doesn't that look ugly to you? I'm just curious why people do that, it doesn't make any sense...... Otherwise, nice. |
| 05-10-2008, 01:49 PM | #3 |
I dunno, there is something catchy about not capitalizing the first letter of a method name. I do capitalize the first letters of function names. |
| 05-10-2008, 03:22 PM | #4 | |
Quote:
use temp globals instead of initing alot local vars. it will be MUCH faster. (especialy in functions which you intialize ~6+ local vars.) // if you have doubts ask PipeDream. |
| 05-10-2008, 03:45 PM | #5 | ||
Quote:
Quote:
|
| 05-10-2008, 03:48 PM | #6 | |
Quote:
Maps using structs will have hundreds or thousands of globals, so I don't think they are much better at that point... Also no one really cares about speed when they are using wrapper functions to do the math for them. |
| 05-10-2008, 04:01 PM | #7 | |
Quote:
+ it was just a suggestion. no one really care about. |
| 05-10-2008, 04:08 PM | #8 |
Pipe says the name hashes size is 512. So, every multiple of 512 increases the time linearly, This doesn't matter at all unless you compare it with locals, locals after all are the only thing faster than globals... |
