MCPcopy Create free account
hub / github.com/apache/fory / SlotsStruct

Class SlotsStruct

benchmarks/python/fory_benchmark.py:222–234  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

220@pyfory.dataslots
221@dataclass
222class SlotsStruct:
223 f1: Any = None
224 f2: str = None
225 f3: List[str] = None
226 f4: Dict[pyfory.Int8, pyfory.Int32] = None
227 f5: pyfory.Int8 = None
228 f6: pyfory.Int16 = None
229 f7: pyfory.Int32 = None
230 f8: pyfory.Int64 = None
231 f9: pyfory.Float32 = None
232 f10: pyfory.Float64 = None
233 f11: pyfory.PyArray[pyfory.Int16] = None
234 f12: List[pyfory.Int16] = None
235
236
237STRUCT_OBJECT = Struct1(

Callers 1

fory_benchmark.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected