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

Class NumericStruct

benchmarks/python/benchmark.py:107–119  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

105
106@dataclass
107class NumericStruct:
108 f1: pyfory.Int32 = pyfory.field(id=1)
109 f2: pyfory.Int32 = pyfory.field(id=2)
110 f3: pyfory.Int32 = pyfory.field(id=3)
111 f4: pyfory.Int32 = pyfory.field(id=4)
112 f5: pyfory.Int32 = pyfory.field(id=5)
113 f6: pyfory.Int32 = pyfory.field(id=6)
114 f7: pyfory.Int32 = pyfory.field(id=7)
115 f8: pyfory.Int32 = pyfory.field(id=8)
116 f9: pyfory.Int32 = pyfory.field(id=9)
117 f10: pyfory.Int32 = pyfory.field(id=10)
118 f11: pyfory.Int32 = pyfory.field(id=11)
119 f12: pyfory.Int32 = pyfory.field(id=12)
120
121
122@dataclass

Callers 2

create_numeric_structFunction · 0.70
from_pb_structFunction · 0.70

Calls 1

fieldMethod · 0.65

Tested by

no test coverage detected