• jmcs
    link
    fedilink
    arrow-up
    6
    ·
    8 months 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.