You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sometimes I'm starting with an existing array of Ints (refs), and a pool vector.
Is there a friendly way to make a PooledArray out of that? I couldn't find one - seems you have to go via the basic constructor with invpool = Dict(k => i for (k, i) in pool), then this gets turned back to pool in the constructor! A PooledArray(refs, pool) constructor would be useful.
The text was updated successfully, but these errors were encountered:
Sometimes I'm starting with an existing array of Ints (
refs
), and apool
vector.Is there a friendly way to make a PooledArray out of that? I couldn't find one - seems you have to go via the basic constructor with
invpool = Dict(k => i for (k, i) in pool)
, then this gets turned back topool
in the constructor! APooledArray(refs, pool)
constructor would be useful.The text was updated successfully, but these errors were encountered: