Posted by
Eric Ehlers-2 on
Jul 04, 2012; 7:51pm
URL: http://quantlib.414.s1.nabble.com/QLXL-possible-memory-leak-revisited-tp9438p9439.html
Hi Peter,
Quoting Peter Caspers <
[hidden email]>:
> Hi Eric, Ferdinando, Luigi, all,
>
> some months ago there were discussions about a possible memory leak
> in QLXL 1.1,
Thanks for the patches you supplied. If I understand correctly, a
subset of that patch was applied to the repository and this resolved
some of the problems with the memory leaks. Please get back to us if
you need clarification.
> I also noted that the observer / observable pattern code is
> duplicated in the object handler (objecthandler/oh/observable.hpp).
> In QL 1.2 the storage of observers and observables was changed from
> std::list to std::set. I believe that this would also help in the
> context above, yet not fully resolve the problem. Anyway, the
> improved code should be moved to the object handler, too, yes? Is
> there by the way a special reason for duplicating the code? Is it to
> keep the object handler independent of QL in some sense?
ObjectHandler has no dependency on QuantLib. There would be nothing
preventing us from copying the new improved observable.hpp from
QuantLib to ObjectHandler.
Regards,
Eric
===================================================
Eric Ehlers
nazcatech sprl | Brussels |
http://www.nazcatech.be* Distributed computing for pricing analytics
* Use Microsoft Excel as a client to the Grid
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats.
http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev