Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Author
Message
qwe
22
Years of Service
User Offline
Joined: 3rd Sep 2003
Location: place
Posted: 12th Nov 2003 04:20 Edited at: 12th Nov 2003 04:21
i only recently learned that i could set a variable to byte and boolean for less memory usage

so i set all my variables that didnt go over 255 or below 0 to bytes, and changed some to booleans

the frames per sec went from 330 to 315.... That's it?

this Napster's Back ad is DRIVING ME CRAZY i cant type a sentence till it pops back up that stupid kitty look who is back my butt

P.S. the amount of variables changed to byte and boolean are 44
CattleRustler
Retired Moderator
22
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 12th Nov 2003 06:03
get google toolbar - it blocks popups

-RUST-
IanM
Retired Moderator
23
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 12th Nov 2003 09:00
The only saving that you will get is memory. Boolean/Byte/Word access is slower in general than integer/dword simply because they do not match the processors standard word size.
OSX Using Happy Dude
22
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 12th Nov 2003 10:33
And Booleans and words are somewhat bugged...


Mirrors are more fun than television. Well, that was fun, in a not-so-fun sort of way...
the_winch
23
Years of Service
User Offline
Joined: 1st Feb 2003
Location: Oxford, UK
Posted: 12th Nov 2003 13:40
They are best avoided in functions unless you want stuff to randomly stop working.

booleans = bytes as far as I can see anyway


p166mmx @ 233 : 256mb : sb 128pci : sis onboard

Login to post a reply

Server time is: 2026-07-26 15:30:33
Your offset time is: 2026-07-26 15:30:33