• excral@feddit.org
    link
    fedilink
    arrow-up
    9
    ·
    9 hours ago

    In terms of memory usage it’s a waste. But in terms of performance you’re absolutely correct. It’s generally far more efficient to check is a word is 0 than to check if a single bit is zero.