On 1/16/18, Don V Nielsen <donvniel...@gmail.com> wrote:
> Off topic question regarding fix: "0!=(wctrlFlags & WHERE_ONEPASS_MULTIROW)"
>
> Is there a performance bonus or compiler optimization if one compares a
> target constant to a source condition versus comparing a target condition
> to a source constant, as in "(wctrlFlags & WHERE_ONEPASS_MULTIROW)!=0"?

Without actually checking, I'm guessing that both forms generating
identical machine code.  The difference is purely a stylistic thing.

-- 
D. Richard Hipp
d...@sqlite.org
_______________________________________________
sqlite-users mailing list
sqlite-users@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to