Closed ankane closed 5 years ago
Hi, thanks for this awesome project 👍
When converting a large Ruby array to a Numo::NArray, I get stack level too deep (SystemStackError). It happens around 200,000 elements on my machine. Code to reproduce:
stack level too deep (SystemStackError)
arr = [0] * 1_000_000 Numo::UInt8[*arr]
Is there a better way to do this?
Numo::UInt8.cast(arr)
Awesome, thanks @masa16 👍
Hi, thanks for this awesome project 👍
When converting a large Ruby array to a Numo::NArray, I get
stack level too deep (SystemStackError)
. It happens around 200,000 elements on my machine. Code to reproduce:Is there a better way to do this?