dvonnteam team mailing list archive
-
dvonnteam team
-
Mailing list archive
-
Message #00002
[Branch ~dvonnteam/qttt/trunk] Rev 20: I cleaned up a bit the code by changing an if-else structure by a switch which is believed to be ...
------------------------------------------------------------
revno: 20
committer: louis.reymondin@xxxxxxxxx
branch nick: trunk
timestamp: Fri 2011-09-02 14:12:14 -0500
message:
I cleaned up a bit the code by changing an if-else structure by a switch which is believed to be faster (see table)
Iteration -> 100 1000
if-else 8 ms 69 ms
switch finite 3 ms 34 ms
switch sparse 7 ms 21 ms
And I changed the isEqual function from
if boolean_expretion return true else return false
by
return boolean_expretion
I'll clean the code when I can, I commit now to check my config is working (eclipse+bazaar) ;)
modified:
Move.cpp
--
lp:qttt
https://code.launchpad.net/~dvonnteam/qttt/trunk
Your team DvonnTeam is subscribed to branch lp:qttt.
To unsubscribe from this branch go to https://code.launchpad.net/~dvonnteam/qttt/trunk/+edit-subscription