1 registered members (AndrewAMD),
1,089
guests, and 2
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
Re: Bps , bps peak & latency
[Re: EpsiloN]
#165321
11/16/07 07:12
11/16/07 07:12
|
Joined: Mar 2003
Posts: 5,377 USofA
fastlane69
Senior Expert
|
Senior Expert
Joined: Mar 2003
Posts: 5,377
USofA
|
Quote:
one for pan angle , one for firing/not firing and one for health , and today I'll include animation states.
Here's a common bandwidth saving routine: Packing as much data into a data type as possible. Observe:
Pan can go from 0-360... or three digits max. Firing/Not Firing is one bit... but aince you are using A6, the least we can do is one digit. And I don't know how much health you have, but let's assume you have a max health of 9999.... or 4 digits.
So all together you have pan (3 digits), firing (1 digit), and health (4 digits).
A var has a total of 9 digits.
Hence, you can store ALL this informaiton into one var...
...and if you only have 10 animations states, you an store that in there too!!
You've just reduced 3 vars (12 bytes) into 1 var (4 bytes)!!!! Or if you put in 10 animations, you've reduced 4 vars (16 bytes) into one var (4bytes)!!!!
|
|
|
Entire Thread
|
Bps , bps peak & latency
|
EpsiloN
|
11/02/07 18:24
|
Re: Bps , bps peak & latency
|
fastlane69
|
11/02/07 19:50
|
Re: Bps , bps peak & latency
|
FBL
|
11/03/07 11:21
|
Re: Bps , bps peak & latency
|
EpsiloN
|
11/03/07 20:42
|
Re: Bps , bps peak & latency
|
FBL
|
11/03/07 22:59
|
Re: Bps , bps peak & latency
|
FBL
|
11/04/07 00:22
|
Re: Bps , bps peak & latency
|
EpsiloN
|
11/04/07 05:05
|
Re: Bps , bps peak & latency
|
FBL
|
11/04/07 10:03
|
Re: Bps , bps peak & latency
|
fastlane69
|
11/04/07 17:01
|
Re: Bps , bps peak & latency
|
EpsiloN
|
11/04/07 18:19
|
Re: Bps , bps peak & latency
|
fastlane69
|
11/04/07 19:02
|
Re: Bps , bps peak & latency
|
EpsiloN
|
11/04/07 19:47
|
Re: Bps , bps peak & latency
|
fastlane69
|
11/04/07 20:51
|
Re: Bps , bps peak & latency
|
EpsiloN
|
11/04/07 21:17
|
Re: Bps , bps peak & latency
|
FBL
|
11/04/07 21:30
|
Re: Bps , bps peak & latency
|
fastlane69
|
11/04/07 22:50
|
Re: Bps , bps peak & latency
|
EpsiloN
|
11/06/07 15:43
|
Re: Bps , bps peak & latency
|
fastlane69
|
11/06/07 17:08
|
Re: Bps , bps peak & latency
|
EpsiloN
|
11/06/07 17:45
|
Re: Bps , bps peak & latency
|
FBL
|
11/06/07 18:06
|
Re: Bps , bps peak & latency
|
EpsiloN
|
11/06/07 18:42
|
Re: Bps , bps peak & latency
|
fastlane69
|
11/06/07 19:44
|
Re: Bps , bps peak & latency
|
Damocles
|
11/06/07 22:33
|
Re: Bps , bps peak & latency
|
fastlane69
|
11/06/07 23:24
|
Re: Bps , bps peak & latency
|
EpsiloN
|
11/07/07 16:02
|
Re: Bps , bps peak & latency
|
FBL
|
11/11/07 19:21
|
Re: Bps , bps peak & latency
|
EpsiloN
|
11/12/07 15:53
|
Re: Bps , bps peak & latency
|
FBL
|
11/12/07 18:07
|
Re: Bps , bps peak & latency
|
EpsiloN
|
11/14/07 15:32
|
Re: Bps , bps peak & latency
|
FBL
|
11/14/07 17:45
|
Re: Bps , bps peak & latency
|
EpsiloN
|
11/14/07 19:15
|
Re: Bps , bps peak & latency
|
FBL
|
11/14/07 20:35
|
Re: Bps , bps peak & latency
|
fastlane69
|
11/15/07 17:14
|
Re: Bps , bps peak & latency
|
EpsiloN
|
11/15/07 21:03
|
Re: Bps , bps peak & latency
|
fastlane69
|
11/15/07 21:53
|
Re: Bps , bps peak & latency
|
EpsiloN
|
11/16/07 04:57
|
Re: Bps , bps peak & latency
|
fastlane69
|
11/16/07 07:12
|
Re: Bps , bps peak & latency
|
FBL
|
11/16/07 13:07
|
Re: Bps , bps peak & latency
|
fastlane69
|
11/16/07 15:45
|
Re: Bps , bps peak & latency
|
EpsiloN
|
11/16/07 17:17
|
Re: Bps , bps peak & latency
|
FBL
|
11/16/07 18:13
|
Re: Bps , bps peak & latency
|
fastlane69
|
11/16/07 19:15
|
Re: Bps , bps peak & latency
|
FBL
|
11/16/07 20:38
|
Re: Bps , bps peak & latency
|
EpsiloN
|
11/16/07 20:50
|
Re: Bps , bps peak & latency
|
FBL
|
11/16/07 21:13
|
|
|