← Back to team overview

zorba-coders team mailing list archive

Re: [Merge] lp:~paul-lucas/zorba/pjl-misc into lp:zorba

 

Review: Needs Information

Shouldn't the following be rewritten for performance:

return s1_n == s2_n && (s1 == s2 || std::memcmp( s1, s2, s1_n ) == 0);

=>

return s1_n == s2_n && (std::memcmp( s1, s2, s1_n ) == 0 ||s1 == s2);
-- 
https://code.launchpad.net/~paul-lucas/zorba/pjl-misc/+merge/116894
Your team Zorba Coders is subscribed to branch lp:zorba.


References