From: Nicolas C. <war...@fr...> - 2003-06-20 04:48:46
|
[...] > Nah, just box the floats. > Should be easy. Make the underlying array > type int. Use 0 as the null value. > Use casts to convert incoming and outgoing > values. Easy. Floats stay boxed though. > I don't care. I agree with that one, it would be interesting to improve DynArray this way. you need also to copy elements one_by_one instead of doing Array.sub in DynArray.to_array. Nicolas Cannasse |