From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29254 invoked by alias); 22 Mar 2007 15:19:50 -0000 Received: (qmail 29230 invoked by uid 22791); 22 Mar 2007 15:19:49 -0000 X-Spam-Check-By: sourceware.org Received: from relay1.psi.neteu.net (HELO relay1.psi.neteu.net) (154.15.246.50) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 22 Mar 2007 15:19:39 +0000 Received: from [212.222.53.82] (helo=gg.pruftechnik.com) by relay1.psi.neteu.net with esmtp (Exim 4.65) (envelope-from ) id 1HUP4j-0001OT-5W for gdb@sourceware.org; Thu, 22 Mar 2007 16:19:37 +0100 Received: from gg.pruftechnik.com (localhost [127.0.0.1]) by gg.pruftechnik.com (8.13.8/8.13.8) with ESMTP id l2MFJatJ000249 for ; Thu, 22 Mar 2007 16:19:36 +0100 (CET) Received: (from localhost) by gg.pruftechnik.com (MSCAN) id 1/gg.pruftechnik.com/smtp-gw/mscan; Thu Mar 22 16:19:36 2007 To: gdb@sourceware.org Subject: Re: faster printing of QStrings MIME-Version: 1.0 X-Mailer: Lotus Notes Release 6.5.4 March 27, 2005 Message-ID: From: Markus.Grunwald@pruftechnik.com Date: Thu, 22 Mar 2007 15:19:00 -0000 Content-Type: text/plain; charset="US-ASCII" X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2007-03/txt/msg00274.txt.bz2 Hello, > Thanks for posting this - I'm sure it will be useful to someone, and > it's also a good test case for GDB performance :-) :) > I couldn't think of anything. It's probably the array access and a > pile of symbol lookups that are slowing it down; when I can find time > (no promises, but this was already on top of my todo list) I will try > to speed it up. Perhaps a look into the kdevelop code could help - they do it somehow ... > The only way you could use it with display today is by defining a > hook-stop macro. I'll have a look how this works. Thanks ! Markus