Re: waves branch and wave copy constructor

al davis <[email protected]>
Newsgroups gmane.comp.gnu.gnucap.devel
Message-ID <[email protected]>
On Monday 02 March 2015, Felix Salfelder wrote:
> yes. arguably, these are exactly the ones i described above
> (i couldn't identify any others...?). all this seems to be
> about an stdlib artifact, not about really copying anything
> (which i never intended to do).
> 
> apart from that, there's nothing wrong with the code. i just
> changed it to use dispatcher instead. see the "waves"
> branch.

using clone now .. still a problem, but I think this one should 
be easy to fix.

Wave objects can be very large, and there can be very many of 
them, so it is important to use extreme ways to eliminate 
duplication.

A complete set of outputs on a large circuit can easily be 
several gigabytes.

Many people, working only on small circuits, never see the 
problem.


Things like this usually take a few tries to get right.  Those 
"almost" tries are important steps on the way toward the one we 
want to keep, which is usually a lot simpler than most of the 
steps it took to get there.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.