Method

IpuzCharsetVecmask

Declaration [src]

guint64
ipuz_charset_vec_mask (
  const IpuzCharsetVec* vec
)

Description [src]

Returns a bitmask of which ordinals occur in vec, with bit n set when the count at ordinal n is non-zero.

This discards the counts, but makes it very cheap to ask whether two vectors have any character in common: (eg mask_a & mask_b).

Return value

Type: guint64

A bitmask of the ordinals present in vec.