Mantis - Croquet
Viewing Issue Advanced Details
5644 Hedgehog minor always 12-18-06 05:10 12-27-06 19:46
howardstearns  
 
normal  
confirmed  
open  
none    
none  
0005644: Unnecessary #driveStep
#driveStep is being sent over the wire pretty much as often as possible, resulting in a lot of extra network traffic. A consequence for WAN operations is that various network throttle controls might cut-in, limiting performance.
CroquetParticipant>>step => CroquetHarness>>step => TAvatarUser>>updateUser => replica future driveStep.

PLUS....

CroquetHarness>>renderWorld => TAvatarUser>>driveStep => replica future driveStep.

The only replicated implementation of #driveStep does #stillAlive, #drive, and #fall.
These can be done completely on-island with a temporal loop (no network traffic), and the #stillAlive could be futureSent from the TAvatarUser like once a second or so.

TAvatarUser>>updateUser isn't really needed at all in this code-base, but you could imagine someone relying on it as a hook for something.
related to 0005664confirmed  unnecessary #doPointerOver: 

Notes
(0008762)
howardstearns   
12-27-06 19:46   
There is a temporary solution in the Contributions repository for the K... classes. A more comprehensive solution will go into a future version.