Field Lz
openzl.ext.graphs.FieldLz
Bases: Graph
Compress the struct inputs using the FieldLZ codec with the default graphs
Inputs: input: TypeMask.Struct | TypeMask.Numeric
Source code in build-openzl/py/site-packages/openzl/ext/graphs.pyi
base_graph
property
__call__(arg)
Source code in build-openzl/py/site-packages/openzl/ext/graphs.pyi
__init__(*, compression_level=None, literals_graph=None, tokens_graph=None, offsets_graph=None, extr_literal_lengths_graph=None, extra_match_lengths_graph=None)
Source code in build-openzl/py/site-packages/openzl/ext/graphs.pyi
parameterize(compressor)
Source code in build-openzl/py/site-packages/openzl/ext/graphs.pyi
set_destination(edge)
Source code in build-openzl/py/site-packages/openzl/ext/graphs.pyi
set_multi_input_destination(edges)
Source code in build-openzl/py/site-packages/openzl/ext/graphs.pyi
openzl.ext.nodes.FieldLz
Bases: Node
Run an LZ compression that matches whole structs
Inputs: input: Type.Struct
Singleton Outputs: literals: Type.Struct tokens (2-bytes): Type.Struct offsets: Type.Numeric extra literal lengths: Type.Numeric extra match lengths: Type.Numeric