[Kst] [Bug 115670] Some datasources call constructors/destructors [nb_vectors] times upon reload
staikos at kde.org
Mon Nov 7 17:34:03 CET 2005
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
------- Additional Comments From staikos kde org 2005-11-07 17:34 -------
On Monday 07 November 2005 04:18, Nicolas Brisset wrote:
> 10:18 ------- Of course, using reset() is an option. But I still wonder why
> we would need to construct/destroy the datasource so many times just to
> reload it... This behavior seemed wrong to me, and I just happened to have
> added some traces that evidenced it.
It's mostly because the datasources expected this, and well, how do you
"reset" a datasource? If it has no reset() function, then the only choice is
to destroy it and create a new one.
> As I was not sure it was a known
> "feature", I thought filing a bug report was appropriate so that the code
> gets cleaned up in case it is needed (especially as it may have a dramatic
> impact on kst performance for some datasources not implementing reset,
> including some in the official distribution like CDF, blame me). Feel free
> to close this bug if what happens is necessary for some reason, even
> unclear to me :-)
No, this mechanism will remain the fallback as long as reset is not
More information about the Kst