www.delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2015/09/06/08:28:18

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
Date: Sun, 6 Sep 2015 14:31:13 +0200 (CEST)
X-X-Sender: igor2 AT igor2priv
To: "Vladimir Zhbanov (vzhbanov AT gmail DOT com) [via geda-user AT delorie DOT com]" <geda-user AT delorie DOT com>
X-Debug: to=geda-user AT delorie DOT com from="gedau AT igor2 DOT repo DOT hu"
From: gedau AT igor2 DOT repo DOT hu
Subject: Re: [geda-user] gschem question about internals
In-Reply-To: <20150906095607.GH2637@localhost.localdomain>
Message-ID: <alpine.DEB.2.00.1509061429530.6924@igor2priv>
References: <alpine DOT DEB DOT 2 DOT 00 DOT 1509051754320 DOT 6924 AT igor2priv> <20150905202843 DOT GB7185 AT localhost DOT localdomain> <alpine DOT DEB DOT 2 DOT 00 DOT 1509060532210 DOT 6924 AT igor2priv> <20150906095607 DOT GH2637 AT localhost DOT localdomain>
User-Agent: Alpine 2.00 (DEB 1167 2008-08-23)
MIME-Version: 1.0
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 Sun, 6 Sep 2015, Vladimir Zhbanov (vzhbanov AT gmail DOT com) [via geda-user AT delorie DOT com] wrote:

> On Sun, Sep 06, 2015 at 05:38:48AM +0200, gedau AT igor2 DOT repo DOT hu wrote:
> ...
>> About the original question from yesterday: I was more interested in whether
>> there is a hash of refdes -> OBJECT, or anything like that, being constantly
>> maintained by gschem. Or whenever gshcem is looking for something, does it
>> do linear searches on the lists of pages and objects?
> Yes, in most C functions it is done this way, AFAIR.

Thank you. For the patch operation I end up building a temporary hash 
using such a loop.

- Raw text -


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