Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/fory
/ int32_array
Function
int32_array
benchmarks/python/benchmark.py:76–77 ·
view source on GitHub ↗
(values: Iterable[int])
Source
from the content-addressed store, hash-verified
74
75
76
def
int32_array(values: Iterable[int]) -> np.ndarray:
77
return
np.array(list(values), dtype=np.int32)
78
79
80
def
int64_array(values: Iterable[int]) -> np.ndarray:
Callers
2
create_sample
Function · 0.85
from_pb_sample
Function · 0.85
Calls
2
list
Function · 0.50
array
Method · 0.45
Tested by
no test coverage detected