Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Integer Comparison

Name: Anonymous 2009-09-10 19:50

Forgive if this is a stupid question:
Lately I have been testing basic arithmetic and logical operations by implementing them using only bitwise operators to test efficiency. Many simple operations can be sped up greatly using this approach.
The question is: will comparison of integers using only bitwise operators (no < or > or <= or >=) create any improvement? I would test this myself but for the life of me have not figured out how to implement this.

Name: Anonymous 2009-09-10 19:58

Okay. Thanks, guys. I am going to try to hammer out an implementation anyway and see what I find. But I think the idea that it doesn't matter anymore is probably correct.

Thanks again.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List