Cpp Parser & multibyte chars (bug 274430)

Milian Wolff mail at milianw.de
Sun Nov 20 16:41:33 UTC 2011

On Saturday 19 November 2011 19:09:07 David Nolden wrote:
> Using QString is not an option, because it not only affects memory-usage,
> but also efficiency.

I'd also be interested in why QString should be slower then QByteArray.

I also wonder whether the doubled mem consumption is so noticeable. I would 
not be suprised if it is negleglible compared to the size of the AST and other 
stuff we create during the parse process. I mean it would be in the range of 
$filesize which is rarely more than one megabyte...

> It shouldn't be too complicated though to map ranges regarding utf8 when
> doing the highlighting in the editor.

But how? I really don't see an easy way. Please share your thoughts.

Milian Wolff
mail at milianw.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20111120/acc66949/attachment.sig>

More information about the KDevelop-devel mailing list