D24976: Write FITS file on separate thread
Hy Murveit
noreply at phabricator.kde.org
Sun Oct 27 07:14:22 GMT 2019
murveit added a comment.
I tested this with my ASI1600, where the .fits files are 32.8Mb. Works fine.
In fact, it's likely that the larger the file, the more the speedup--as I guess the disk-write would take longer.
The only place where there would be extra memory used is where I do the memcpy in indiccd.cpp:1470.
I wasn't sure I needed to do that, but I didn't think I could rely on the blob memory staying put, so I conservatively
ran the memcpy, and created that buffer that I keep around. That memcpy takes less than 100ms on my RPi4 with Release build.
REPOSITORY
R321 KStars
REVISION DETAIL
https://phabricator.kde.org/D24976
To: murveit, mutlaqja
Cc: kde-edu, narvaez, apol
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-edu/attachments/20191027/2c595e68/attachment.html>
More information about the kde-edu
mailing list