[Kstars-devel] Fwd: Re: Speeding things up

Khudyakov Alexey alexey.skladnoy at gmail.com
Thu Jun 11 22:52:30 CEST 2009


> But than. It's easy. Code could get faster and safer at the same time.
> And all memcpy/placement new stuff could be just thrown away.
>
Here is patch which implement changes described im previsious mail.

* diffstats
deepstarcomponent.cpp |   20 +++++-----
starblock.cpp        |   92 ++++++++++++++++++++------------------------------
starblock.h          |   48 +++++++-------------------
starblocklist.cpp    |   36 +++++++++----------
4 files changed, 79 insertions(+), 117 deletions(-)

No documentation, no testing, no profiling yet but it seems to work.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: starbloc_eliminate_memcpy.patch
Type: text/x-patch
Size: 9575 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kstars-devel/attachments/20090612/1ebf82ea/attachment.patch 


More information about the Kstars-devel mailing list