Ilya Zakharevich on Sat, 14 Dec 2002 16:36:22 -0800 |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
Re: Vec vs Vecsmall |
On Sat, Dec 14, 2002 at 02:55:40PM -0500, Michael Somos wrote: > pari-dev, > Ilya wrote : > > > I object to Vec and Vecsmall having different semantic. > > Since it was apparently my suggestion that triggered this, > I would like to know what the alternate desired semantic > would be in some detail. In other words, how exactly would > the alternate differ from what is currently the case? IMO, Vecsmall() should be an *optimization* only. The code which uses Vecsmall() should not notice if Vecsmall() is aliased to Vec(). Hope this helps, Ilya