Thread

  1. Re: [PATCH] Add pg_lfind8_nonzero()

    cca5507 <cca5507@qq.com> — 2025-12-18T02:29:00Z

    Hi,
    
    > Maybe you could try popcount for this?
    > 
    >      hasnull = (pg_popcount((char *) isnull, numberOfAttributes) > 0);
    
    It seems that pg_popcount() cannot early return when we find a nonzero value, so I don't
    think it's a good choice for this case.
    
    --
    Regards,
    ChangAo Chen