Christian Schmitz wrote:
Man könnte versuchsweise eine parallele Suche aller Strings machen.
Dafür Regex nehmen und einen großen regulrären Ausdruck damit
kompilieren.
Das habe ich nicht verstanden.
Mit dem Tipp, eine lokale Variable als Suchstring zu benutzen reicht
derzeit noch.
MfG, Metti.
From Wed 27 Sep 2006 21:52:24 +0200
Return-Path: <realbasic-nug dot de-bounces at lists dot realsoftware dot com>
X-Original-To: listarchive at realsoftware dot com
Delivered-To: listarchive at realsoftware dot com
Received: by xmail.realsoftware.com (Postfix, from userid 1037)
id C1337C83FA1; Wed, 27 Sep 2006 12:52:31 -0700 (PDT)
X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on realxserve.local
X-Spam-Level:
X-Spam-Status: No, score=-1.2 required=4.5 tests=AWL autolearn=disabled
version=3.1.1
Received: from lists.realsoftware.com (lists.realsoftware.com [209.198.132.125])
by xmail.realsoftware.com (Postfix) with ESMTP id E4932C83F97;
Wed, 27 Sep 2006 12:52:30 -0700 (PDT)
Received: from lists.realsoftware.com (localhost [127.0.0.1])
by lists.realsoftware.com (Postfix) with ESMTP
id 4DF09152DB1A; Wed, 27 Sep 2006 14:52:28 -0500 (CDT)
X-Original-To: realbasic-nug dot de at lists dot realsoftware dot com
Delivered-To: realbasic-nug dot de at lists dot realsoftware dot com
Received: from smtprelay05.ispgateway.de (smtprelay05.ispgateway.de
[80.67.18.43])
by lists.realsoftware.com (Postfix) with ESMTP id 6DA0F152DB0E
for <realbasic-nug dot de at lists dot realsoftware dot com>;
Wed, 27 Sep 2006 14:52:25 -0500 (CDT)
Received: (qmail 25710 invoked from network); 27 Sep 2006 19:52:24 -0000
Received: from unknown (HELO [192.168.1.80]) (363246 at [84 dot 175 dot 98 dot
32])
(envelope-sender <support at monkeybreadsoftware dot de>)
by smtprelay05.ispgateway.de (qmail-ldap-1.03) with SMTP
for <realbasic-nug dot de at lists dot realsoftware dot com>;
27 Sep 2006 19:52:24 -0000
To: realbasic-nug dot de at lists dot realsoftware dot com (REALbasic NUG
German)
In-Reply-To: <3242238295 dot 132680041270 at [192 dot 168 dot 178 dot 135]>
From: support at monkeybreadsoftware dot de (Christian Schmitz)
Date: Wed, 27 Sep 2006 21:52:24 +0200
Message-ID: <1hmcfbw dot 1trtxbq1f4lhl6M%support at monkeybreadsoftware dot de>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Organization: Monkeybread Software Germany
X-Face: nrf3>{WQ6c&r+7 at e)"]0G60`-6ND^)I2mI%>)QGYa=9"=7jhd-g2|b3!>Al0+
Ccb%xGQshhi|g at QU2$
User-Agent: MacSOUP/D-2.7 (Mac OS X version 10.4.7)
Subject: Re: Stringsuche
X-BeenThere: realbasic-nug dot de at lists dot realsoftware dot com
X-Mailman-Version: 2.1.2
Precedence: list
Reply-To: REALbasic NUG German <realbasic-nug dot de at lists dot realsoftware dot
com>
Sender: realbasic-nug dot de-bounces at lists dot realsoftware dot com
Errors-To: realbasic-nug dot de-bounces at lists dot realsoftware dot com
Stefan Mettenbrink <S dot Metti at gmx dot de> wrote:
Christian Schmitz wrote:
> Man könnte versuchsweise eine parallele Suche aller Strings machen.
> Dafür Regex nehmen und einen großen regulrären Ausdruck damit
> kompilieren.
Das habe ich nicht verstanden.
Na wenn du 200000 Suchstrings auf einmal suchst, kann das sehr effzient
sein. Denn du hast statt 200000 mal den String im Editfield zu lesen ihn
nur einmal zu lesen.
Mit dem Tipp, eine lokale Variable als Suchstring zu benutzen reicht
derzeit noch.
Probier's doch mal. Ende sind's nur 5 ticks und du bist noch
glücklicher.
Gruß
Christian
--
Around eleven thousand functions in one REALbasic plug-in.
The Monkeybread Software Realbasic Plugin v6.3. Now universal!
<http://www.monkeybreadsoftware.de/realbasic/plugins.shtml>
|