fletcher.algorithms.string_builder module

class fletcher.algorithms.string_builder.LibcMalloc

Bases: numba.core.types.function_type.WrapperAddressProtocol

Methods

signature()

Return the signature of a first-class function.

signature()

Return the signature of a first-class function.

Returns
sigSignature

The returned Signature instance represents the type of a first-class function that the given WrapperAddressProtocol instance represents.

fletcher.algorithms.string_builder.byte_for_bits(num_bits)
fletcher.algorithms.string_builder.finalize_string_array(sba, typ) → pyarrow.lib.Array

Take a StringArrayBuilder and returns a pyarrow.StringArray. The native memory in the StringArrayBuilder is free’d during this method call and this is unusable afterwards but also doesn’t leak any memory.

fletcher.algorithms.string_builder.malloc_nojit(size: int)