God I wish there was an easier way to do this - eviltoast
  • noddy@beehaw.org
    link
    fedilink
    arrow-up
    4
    ·
    1 year ago

    I know an even better way. We can make it run in O(1) by using a lookup table. We only need to store 2^64 booleans in an array first.