|
From: Eric E. <eri...@na...> - 2012-07-04 19:51:46
|
Hi Peter, Quoting Peter Caspers <pca...@vo...>: > 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 |