A constant-memory approximation of set membership