Results 1 to 4 of 4

Thread: Fast bit tests?

  1. #1

    Thread Starter
    Retired G&G Mod NoteMe's Avatar
    Join Date
    Oct 2002
    Location
    @ Opera Software
    Posts
    10,190

    Fast bit tests?

    Is it possible at all in C# to do fast bit tests? Lets say I have a byte or an int, is there some fast way to test if one of the bits are on or of?


    - ØØ -

  2. #2
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: Fast bit tests?

    Look on Page 4 for the "C board - dns query" link. Does any of that help?

  3. #3
    l33t! MrPolite's Avatar
    Join Date
    Sep 2001
    Posts
    4,428

    Re: Fast bit tests?

    I think google search ranks change day by day so something on page 4 today might end up on another page later on

    this was the link he was referring to
    http://cboard.cprogramming.com/showthread.php?t=49730
    rate my posts if they help ya!
    Extract thumbnail without reading the whole image file: (C# - VB)
    Apply texture to bitmaps: (C# - VB)
    Extended console library: (VB)
    Save JPEG with a certain quality (image compression): (C# - VB )
    VB.NET to C# conversion tips!!

  4. #4

    Thread Starter
    Retired G&G Mod NoteMe's Avatar
    Join Date
    Oct 2002
    Location
    @ Opera Software
    Posts
    10,190

    Re: Fast bit tests?

    Quote Originally Posted by MrPolite
    I think google search ranks change day by day so something on page 4 today might end up on another page later on

    this was the link he was referring to
    http://cboard.cprogramming.com/showthread.php?t=49730

    Yeha, I think you are right....but this is not going to help me anyway. This is in C, not C#. So it is unmanaged code. And I even have faster ways then this in my game library for C++ anyway. But I want it in C# now. Not C.

    - ØØ -

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width