[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnucap-devel] waves branch and wave copy constructor
From: |
al davis |
Subject: |
Re: [Gnucap-devel] waves branch and wave copy constructor |
Date: |
Sat, 7 Mar 2015 08:37:08 -0500 |
User-agent: |
KMail/1.13.7 (Linux/3.2.0-4-amd64; KDE/4.8.4; x86_64; ; ) |
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.