CPU hogging in the current master

Lubomir I. Ivanov neolit123 at gmail.com
Wed Sep 25 03:23:33 UTC 2013


On 25 September 2013 13:04, Robert Helling <helling at atdotde.de> wrote:
> I did this on my laptop at home last night and cannot say what state that was in. But here in the office after getting the latest master the patch applies without problems.
>
> Best
> Robert
>
> PS: This is bad style, but for reference here is profile.c after applying the patch

ok, it seems that the cause was that the patch file was with DOS/CRLF
line-break-delimiters. if i change it to UNIX/LF it applies for me.

the modification improves the divelist browsing quite a lot. though,
it still takes 1 second of a delay when switching between say, dives
#17 and #20 under this VM. perhaps the calculation could be improved
further or be made optional and disabled by default.

lubomir
--
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tts_lazyness.patch
Type: application/octet-stream
Size: 1617 bytes
Desc: not available
URL: <http://lists.hohndel.org/pipermail/subsurface/attachments/20130925/e46a72b2/attachment.obj>


More information about the subsurface mailing list