Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #60256
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.fsmpi.rwth-aachen.de!proxad.net!feeder1-2.proxad.net!news.tele.dk!news.tele.dk!small.news.tele.dk!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <badouglas@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.008 |
| X-Spam-Evidence | '*H*': 0.98; '*S*': 0.00; 'subject:text': 0.05; 'element': 0.07; 'elements.': 0.07; 'test,': 0.07; 'chunk': 0.09; 'slow.': 0.09; 'determining': 0.16; 'element,': 0.16; 'trying': 0.19; 'basically': 0.19; 'starts': 0.20; 'test.': 0.24; 'text,': 0.24; 'compare': 0.26; 'skip:" 20': 0.27; 'matching': 0.30; 'message-id:@mail.gmail.com': 0.30; "i'm": 0.30; 'dom': 0.31; 'text': 0.33; "i'd": 0.34; 'test': 0.35; 'received:google.com': 0.35; 'thanks': 0.36; 'two': 0.37; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'between': 0.67; '1st': 0.74; 'segments.': 0.84; 'subject:find': 0.84 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=V+rYUdxb+kTmagiA8PSdX5GYr7zgp1xA9e0CJVIDquo=; b=1Hvv+hgGWQK+Dcbfh9yS8ygfXJEGhmLExum6Zxe3I1cAPNu8lC9tcDfdJF/PIIrgrn GOwY5Adpfi1viPmNNq94yyDm8W2Q5/RkdW221Po6IhA5J2QDjWsevkiaRjUQ7rc8Bkwk HnwpIRwEU/fdqhf51evh5UYM44EcVHszObrIAOBWCvPHxKDH5E7O8IeOLXupB+A6k/Nd 7m6Y4pXAl8FchssBEEH8kdwzJtmFBn08DLVs6iKC/dl40Siy02zpTFVYW0Ua889wBwVt Lf8wDxMvGRrr7pHgKLCS12APD1xinXswYVlBtmmFTSUV3KpcuhFg71LMo+Cc5uEu72Um B7SA== |
| MIME-Version | 1.0 |
| X-Received | by 10.50.115.35 with SMTP id jl3mr4550475igb.37.1385166647565; Fri, 22 Nov 2013 16:30:47 -0800 (PST) |
| Date | Fri, 22 Nov 2013 19:30:47 -0500 |
| Subject | find matching contiguous text |
| From | bruce <badouglas@gmail.com> |
| To | python-list@python.org |
| Content-Type | text/plain; charset=ISO-8859-1 |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.3060.1385166656.18130.python-list@python.org> (permalink) |
| Lines | 15 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1385166656 news.xs4all.nl 15882 [2001:888:2000:d::a6]:59463 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:60256 |
Show key headers only | View raw
Hi. I have a xpath test that generates the text/html between two xpath functions, basically a chunk of HTML between two dom elements. However, it's slow. As a test, I'd like to compare the speed if I get all the HTML following a given element, and then get all the HTML preceding a given element.. and then do a "union/join/intersection" of the text between the two text segments. I'm trying to find an efficient/effective approach to determining the contiguous matching text, where the text starts with the 1st line in the test from the following element test. Thanks
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
find matching contiguous text bruce <badouglas@gmail.com> - 2013-11-22 19:30 -0500
csiph-web