Thread: Why doesn't Jagex use Bitwise OR for their buffers?

Page 4 of 4 FirstFirst ... 234
Results 31 to 39 of 39
  1. #31  
    Hei
    Hei is offline
    Ex-Moderator
    Hei's Avatar
    Join Date
    Dec 2006
    Age
    17
    Posts
    2,624
    Thanks
    937
    Thanked 615 Times in 321 Posts
    Rep Power
    2289
    Quote Originally Posted by Killer 99 View Post
    i don't need to prove anything to you i'm not letting you waste any more of my time. GO USE ADDITION!
    You either can't read or don't wanna read.
    All that argument is about your statement: "OR is faster than addition" while performance is completely platform-dependent.

    iKilem obviously stated that he would use OR over addition so why would you suggest him to use addition? Stop fighting.
    Reply With Quote  
     

  2. #32  
    Registered Member
    Killer 99's Avatar
    Join Date
    Dec 2007
    Posts
    1,436
    Thanks
    166
    Thanked 483 Times in 190 Posts
    Rep Power
    386
    Quote Originally Posted by kLeptO View Post
    You either can't read or don't wanna read.
    All that argument is about your statement: "OR is faster than addition" while performance is completely platform-dependent.

    iKilem obviously stated that he would use OR over addition so why would you suggest him to use addition? Stop fighting.
    so every platform has better addition performance, wouldn't you think that using OR no matter what would be more beneficial to the ones who don't have fast addition? What I read (and iKilem) is that OR is always faster it is just a matter of how much faster, with newer processors it is about the same.

    I said that OR was faster.

    NOW if you actually have some documents or evidence to stand against that statement, then click the back button on your browser. Leik now would be a good time
    Reply With Quote  
     

  3. #33  
    Hei
    Hei is offline
    Ex-Moderator
    Hei's Avatar
    Join Date
    Dec 2006
    Age
    17
    Posts
    2,624
    Thanks
    937
    Thanked 615 Times in 321 Posts
    Rep Power
    2289
    Quote Originally Posted by Killer 99 View Post
    so every platform has better addition performance, wouldn't you think that using OR no matter what would be more beneficial to the ones who don't have fast addition? What I read (and iKilem) is that OR is always faster it is just a matter of how much faster, with newer processors it is about the same.

    I said that OR was faster.

    NOW if you actually have some documents or evidence to stand against that statement, then click the back button on your browser. Leik now would be a good time
    "wouldn't you think that using OR no matter what would be more beneficial"
    ^ this
    OR > addition, but OR is not always faster, which makes your statement "it's faster" invalid.
    Don't wanna discuss this anymore since I'm not "your level". I might be wrong.
    Reply With Quote  
     

  4. Thankful user:


  5. #34  
    Registered Member
    Killer 99's Avatar
    Join Date
    Dec 2007
    Posts
    1,436
    Thanks
    166
    Thanked 483 Times in 190 Posts
    Rep Power
    386
    Quote Originally Posted by kLeptO View Post
    "wouldn't you think that using OR no matter what would be more beneficial"
    ^ this
    OR > addition, but OR is not always faster, which makes your statement "it's faster" invalid.
    Don't wanna discuss this anymore since I'm not "your level". I might be wrong.
    lol and where did you get the information saying that it's not always faster? wikipedia says it is ALMOST as fast on some newer processors

    and i could care less where you rank me on your "programmer scale" because i don't need to hold myself above you when i don't even know you
    Reply With Quote  
     

  6. #35  
    Programmer, Veteran and Respected Member



    Join Date
    Mar 2007
    Posts
    4,835
    Thanks
    2,111
    Thanked 2,768 Times in 944 Posts
    Rep Power
    4420
    According to this document: http://gmplib.org/~tege/x86-timing.pdf, most x86 processors take the same number of clock cycles to for the ADD and OR instructions.
    .
    Reply With Quote  
     

  7. Thankful users:


  8. #36  
    Registered Member
    Killer 99's Avatar
    Join Date
    Dec 2007
    Posts
    1,436
    Thanks
    166
    Thanked 483 Times in 190 Posts
    Rep Power
    386
    Quote Originally Posted by Graham View Post
    According to this document: http://gmplib.org/~tege/x86-timing.pdf, most x86 processors take the same number of clock cycles to for the ADD and OR instructions.
    thank you, someone actually gives some reputable evidence rather than hearsay and personal opinion..
    Reply With Quote  
     

  9. #37  
    JOIN THE VIM SIDE OF THE FORCE

    Join Date
    Nov 2007
    Age
    18
    Posts
    1,162
    Thanks
    306
    Thanked 426 Times in 191 Posts
    Rep Power
    1016
    Quote Originally Posted by Killer 99 View Post
    thank you, someone actually gives some reputable evidence rather than hearsay and personal opinion..
    Ikillem kept giving the argument: I can't say anything about performance because I don't have evidence so I won't. <--- no opinion attached, just leaves the options open, valid argument.

    then you said: OR has better performance without giving an example why it would be... <-- chooses an actual side, without underpinning the argument => opinion


    now who is using invalid arguments son... pisses me off when people rage about things they are doing themselves
    Monads are just Monoids in the category of Endofunctors. What is the problem?
    Reply With Quote  
     

  10. #38  
    Registered Member
    Killer 99's Avatar
    Join Date
    Dec 2007
    Posts
    1,436
    Thanks
    166
    Thanked 483 Times in 190 Posts
    Rep Power
    386
    Quote Originally Posted by Cups View Post
    Ikillem kept giving the argument: I can't say anything about performance because I don't have evidence so I won't. <--- no opinion attached, just leaves the options open, valid argument.

    then you said: OR has better performance without giving an example why it would be... <-- chooses an actual side, without underpinning the argument => opinion


    now who is using invalid arguments son... pisses me off when people rage about things they are doing themselves
    no actually i referenced wikipedia
    Reply With Quote  
     

  11. #39  
    Registered Member

    Join Date
    Jan 2008
    Posts
    2,611
    Thanks
    490
    Thanked 590 Times in 383 Posts
    Rep Power
    884
    Quote Originally Posted by Killer 99 View Post
    so every platform has better addition performance, wouldn't you think that using OR no matter what would be more beneficial to the ones who don't have fast addition? What I read (and iKilem) is that OR is always faster it is just a matter of how much faster, with newer processors it is about the same.
    I don't remember reading that OR is always faster. I said it was platform- you know what I said.

    Quote Originally Posted by Killer 99 View Post
    thank you, someone actually gives some reputable evidence rather than hearsay and personal opinion..
    Hearsay? Point me to one of my comments where there is hearsay.
    ~iKilem
    Reply With Quote  
     


Page 4 of 4 FirstFirst ... 234
Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Buffers for C I/O!
    By Cups in forum Application Development
    Replies: 9
    Last Post: 10-18-2011, 11:55 PM
  2. Bitwise opperators in java
    By Pilldom in forum Help
    Replies: 2
    Last Post: 07-20-2011, 04:55 AM
  3. Bitwise help
    By Lmctruck30 in forum Help
    Replies: 3
    Last Post: 06-26-2010, 06:02 PM
  4. My calculation of bitwise operators
    By 03data in forum Application Development
    Replies: 10
    Last Post: 05-24-2010, 07:42 PM
  5. Flipping the Stream buffers
    By Virus X3 in forum Help
    Replies: 3
    Last Post: 12-16-2009, 04:39 AM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •