[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    Re: KDE/kdelibs/kate/buffer
From:       Christoph Cullmann <cullmann () absint ! de>
Date:       2010-07-22 7:42:30
Message-ID: 201007220942.30939.cullmann () absint ! de
[Download RAW message or body]

On Thursday, July 22, 2010 03:22:42 am David Nolden wrote:
> SVN commit 1152789 by zwabel:
> 
> Add a cache for MovingRanges that are contained only by a single line, and
> use it to speed up the rendering of highlighting-intensive documents (like
> in KDevelop4) by magnitues. Please review and test this intensively for
> backporting, it seems to work fine. CCMAIL: kwrite-devel@kde.org
> CCMAIL: kdevelop-devel@kde.org
Looks like this will use lot more memory per block, but only for apps with 
many ranges, can be ok for me, if it makes kdevelop much better.

Beside, could you eliminate m_allRanges? Looks like duplication, can be 
checked by 2 hash lookups, too, or? And a little wrapper for this like 
"isInBlock ()".

Otherwise, some api docs later and I would be fine with giving it a test.

Greetings
Christoph

-- 
-------------------------------------- Christoph Cullmann ---------
AbsInt Angewandte Informatik GmbH      Email: cullmann@AbsInt.com
Science Park 1                         Tel:   +49-681-38360-22
66123 Saarbrücken                      Fax:   +49-681-38360-20
GERMANY                                WWW:   http://www.AbsInt.com
--------------------------------------------------------------------
Geschäftsführung: Dr.-Ing. Christian Ferdinand
Eingetragen im Handelsregister des Amtsgerichts Saarbrücken, HRB 11234

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic