delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2014/09/09/23:50:44

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sbcglobal.net; s=s1024; t=1410321008; bh=kEMHXLMSbKMTyqI0TScIzSfb06m5cgeHaxYvbtHaYyU=; h=Received:Received:Received:DKIM-Signature:X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Content-Type:Mime-Version:Subject:From:In-Reply-To:Date:Content-Transfer-Encoding:Message-Id:References:To:X-Mailer:From:Subject; b=im24LAe9nl8q7Q+OOMkxc04HzMxrDOe6RQA8k4pbfI/BGoV+wJHku5Bz15Y1qpzejfgUUzMUNiVdMmd7vI2tkIRN3Yti6aKW8ztWOPP8HnKRoURIVZwk28LIB8+cLgzTziGuexXjEnSHAileYgBtQWYMbgpfn0euzz11CHIk4zQ=
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=sbcglobal.net;
b=PJT+eHUm/P8aRUbCmCtB5yMY4yvjSKD5GDYLZbWHNsv8EBhw8n+JX4mkMfi3cN28TwgDlnx7TuBN8u0j7qu7auWk9xStW8vFO1nm7XScGE0qNCGo2AUU3TrPspbI04THODBdRQcAPx+dRf/Lk5K1hNigzQQlua21RlH5F7fYRuk=;
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sbcglobal.net; s=s1024; t=1410321008; bh=kEMHXLMSbKMTyqI0TScIzSfb06m5cgeHaxYvbtHaYyU=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Content-Type:Mime-Version:Subject:From:In-Reply-To:Date:Content-Transfer-Encoding:Message-Id:References:To:X-Mailer; b=5S1Ap9jIICao9tMK/xV+5I1HsEwoTy6tXDvRVW8n1xWc77bMfAB6Ro9MwmtBIFHWEG54jIUw3nnNmQr2MOM2Kih9YfWc5rDDJTYGzPf7XZntOHQoznVkPr/dxW8v+xxOfcP/A8lpBy8C3H4hzIn96g0XlBPJMmv/GfRBj0UwXik=
X-Yahoo-Newman-Id: 225164 DOT 76299 DOT bm AT smtp231 DOT mail DOT gq1 DOT yahoo DOT com
X-Yahoo-Newman-Property: ymail-3
X-YMail-OSG: SFvT3_wVM1n4VlSBkAo9JdGw9jcG7aKWWVof8fHpcAXJq44
u1lq5YQF2EsPvwaJgYnYigUfZ._XCVJec8I9Ow3RlnWJRjfvuxLhfHnNft.P
R4rH59tX1vDZ_BeWBETPPWAH21HzuzzOgMqxW.lioXumYTd_aJbVoOSkJVLA
2qcwki4yVAx4qDObZTGf..OpmT.9OPF__WdjEjmuNtW7N8qhI2Fi9agFTR0f
eSM1ggKyh3RGKfC25B4U4C8YnJ1E5KGhU7NsgENupPSkEIryixggKeZWJ0a6
QRhDBmUQtw_iFT5Af.X_oyea7e8V.RSg._nU2zFn7sa4Zbqf5lAhj5snBygP
RfGoJTwxdhXmAxtMJU7jmrRjnf5I4tXChJB9CBq13k_WHLzWIC0Zi.Wbho0X
GLqd2mi1UpWSq9svtrkkKpjf3I0moOcs6LTp18VwmHGCyWtmm19beZ8zhg1N
qshurbF1wW1m2qhl6CyAi7wzZB1YKntXC8uKOy3A8APVJi5xc.EiVqsc1EyH
hnoiSzsNBAe.YbZYzaU14vapf_Sw4yRQROerEn4meFgGB9aK4m6Q-
X-Yahoo-SMTP: b8jVkbOswBAqZ4BhECp7nxPJUfTGEnEGv_G4qgQeZMeAbA--
Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\))
Subject: Re: [geda-user] A different kind of gschem nap
From: Edward Hennessy <ehennes AT sbcglobal DOT net>
In-Reply-To: <luirdo$uc0$1@ger.gmane.org>
Date: Tue, 9 Sep 2014 20:50:07 -0700
Message-Id: <D2AAD25F-739B-4A3A-9D4F-3B14E7C8700C@sbcglobal.net>
References: <luh5iq$42s$1 AT ger DOT gmane DOT org> <98C89E6D-3A1B-4E11-8F2A-F0C9D5D2AE7D AT sbcglobal DOT net> <luirdo$uc0$1 AT ger DOT gmane DOT org>
To: geda-user AT delorie DOT com
X-Mailer: Apple Mail (2.1878.6)
Reply-To: geda-user AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: geda-user AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Sep 7, 2014, at 4:57 PM, Kai-Martin Knaak <kmk AT familieknaak DOT de> wrote:

> Edward Hennessy wrote:
> 
>> The function s_weakref_remove() is taking up a large percentage of
>> the execution time. (More than 85%) And, this function is called
>> from smob_free().
>> 
>> Using a faster container to store weak references could put us into
>> the 2-3 min range.
> 
> This still seems ridiculously inefficient to me. The algorithm jut 
> needs to assign about 100 refdes numbers that are not yet used. This 
> should not take minutes on a contemporary desktop. 

I'm working on something that may help. I wrote some scheme to reset
refdes when copying and pasting. It can be added to the local
configuration with:

	(load-from-path "auto-refdes.scm")
	(add-hook! copy-objects-hook auto-refdes-reset!)

It doesn't reset refdes when cutting and multiple pasting, yet.

Cheers,
Ed

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019