09-04-2011, 23:55
tl;dr my code doesn't work?!
Release My science project
|
09-04-2011, 23:55
tl;dr my code doesn't work?!
(09-04-2011, 23:55)SuperNovaAO Wrote: tl;dr my code doesn't work?! Your code *probably* does work but it isn't faster.
09-21-2011, 12:28
Sorry to bump this, but it just had me a intrigued. Are you saying that the 'strTok' function was run 10,000 times and finished in less than 1 millisecond? Are you using a NASA computer? Because strings generally take more time to process than integers due to their flexibility.
09-21-2011, 12:39
(09-21-2011, 12:28)Phl3x_ Wrote: Sorry to bump this, but it just had me a intrigued. Are you saying that the 'strTok' function was run 10,000 times and finished in less than 1 millisecond? Are you using a NASA computer? Because strings generally take more time to process than integers due to their flexibility. No, in 1 server frame, 50ms. And I got a 6 core @ 3,2ghz
09-21-2011, 12:43
Probably because there is a preprocessor in cod which transforms the code inside the gsc first.
09-23-2011, 07:08
If these were tested in another, more common language, Nova's way would probably be a bit faster. However in all languages, it will be less accurate because many floats cannot be represented exactly, and by performing calculations on them, it would skew the results. Also, calculations with floats is a fairly processor intensive task, so strings would be the best option for this.
09-23-2011, 07:56
lol, I know that this is old but seriously @AZUMIKKEL? You didn't know what strTok did? O__o
A casual conversation between barata and I about Nukem.
09-23-2011, 07:57
(09-23-2011, 07:56)master131 Wrote: lol, I know that this is old but seriously @AZUMIKKEL? You didn't know what strTok did? O__o @AZUMIKKEL is a noob modder |
Possibly Related Threads… | |||||
Thread | Author | Replies | Views | Last Post | |
New Project | Mibbix | 11 | 6,676 |
02-20-2013, 11:41 Last Post: Mibbix |
|
[Release] ZombieS Project - outdated - | barata | 9 | 5,913 |
01-03-2013, 03:26 Last Post: barata |
|
[News] Operation 'Let's start on another project that we won't finish' | JariZ | 10 | 6,359 |
08-26-2012, 17:59 Last Post: Arteq |
|
Preview Project Dark Night | Nekochan | 7 | 4,651 |
08-07-2012, 11:43 Last Post: Arteq |
|
[Release] Project Nova | SparkyMcSparks | 29 | 18,044 |
07-03-2012, 18:01 Last Post: Snipermats |
|
SnD bg sounds project | paok-atak | 8 | 4,944 |
05-22-2012, 18:08 Last Post: JariZ |
|
Project Anti cheat | Joan | 18 | 10,473 |
05-09-2012, 09:15 Last Post: GscGunner |
|
Real Science | House | 1 | 1,908 |
03-19-2012, 15:52 Last Post: Yamato |
|
Iron Wolf Project | SuperNovaAO | 8 | 5,683 |
02-07-2012, 00:58 Last Post: kokole |
|
Preview First photoshop project!(: | skata3000 | 8 | 5,130 |
01-20-2012, 15:26 Last Post: Ic3coldh20 |
Users browsing this thread: |
5 Guest(s) |