xtensor-stack / Xtensor.jl

Julia package for xtensor-julia
http://quantstack.net/xtensor
BSD 3-Clause "New" or "Revised" License
41 stars 6 forks source link

Caching julia shape tuple type and array type #32

Closed SylvainCorlay closed 7 years ago

SylvainCorlay commented 7 years ago

At the moment, jltensor::init_tensor which initializes a jltensor from C++ creates the julia type for the shape on the fly.

This should be done only once.

SylvainCorlay commented 7 years ago

Fixed in jltensor.