2010/11/30 Václav Šmilauer <[email protected]> > > in experimental SubDomain branch >> http://bazaar.launchpad.net/~yade-dev/yade/subdomains/revision/2568<http://bazaar.launchpad.net/%7Eyade-dev/yade/subdomains/revision/2568>< >> http://bazaar.launchpad.net/%7Eyade-dev/yade/subdomains/revision/2568> >> you are using likely/unlikely expressions, which should help to produce >> optimized code. >> >> But have you tried those examples? http://kerneltrap.org/node/4705 >> >> As for me. in both examples the produced binary code is completely >> identical. Could you not try those? >> > Hi, what two examples produce the same code? The ones from kerneltrap?
Yes, the code from kerneltrap. I have found -fprofile-generate option here http://bazaar.launchpad.net/%7Eyade-dev/yade/trunk/annotate/head%3A/SConstruct#L428 So, probably, the code should be optimized. > To be honest, I did not benchmark the code with/without (un)likely, hoping > it could make some difference. Even if it does not, it should make the code > a little bit more readable perhaps? BTW I would like to merge subdomains to > trunk soon (as a compile-time option). > It would be good, especially if it closes https://bugs.launchpad.net/yade/+bug/669095 > Cheers, v. > > > _______________________________________________ > Mailing list: > https://launchpad.net/~yade-dev<https://launchpad.net/%7Eyade-dev> > Post to : [email protected] > Unsubscribe : > https://launchpad.net/~yade-dev<https://launchpad.net/%7Eyade-dev> > More help : https://help.launchpad.net/ListHelp >
_______________________________________________ Mailing list: https://launchpad.net/~yade-dev Post to : [email protected] Unsubscribe : https://launchpad.net/~yade-dev More help : https://help.launchpad.net/ListHelp

