• jmcs
    link
    fedilink
    arrow-up
    6
    ·
    1 year ago

    If the language you are using uses “real” integers, using a bit mask to get the least significant bit is probably a lot faster - assuming the compiler doesn’t replace the operation for you, in which case it doesn’t matter.