Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 8, 2009, 4:03:44 PM (15 years ago)
Author:
scheusso
Message:

optimised diff function (unrolled to 8byte xor)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/netp4/src/network/GamestateManager.cc

    r3102 r3120  
    133133//       COUT(3) << "diffing" << std::endl;
    134134//       packet::Gamestate* gs1  = gs;
    135       gs = gs->diff(client);
     135      packet::Gamestate *diffed = gs->diff(client);
     136      //packet::Gamestate *gs2 = diffed->undiff(gs);
     137//       assert(*gs == *gs2);
     138      gs = diffed;
    136139//       packet::Gamestate* gs2 = gs->undiff(client);
    137140//       gs = new packet::Gamestate(*gs);
Note: See TracChangeset for help on using the changeset viewer.