Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: Michael Selik Newsgroups: comp.lang.python Subject: Re: loading trees... Date: Mon, 13 Jun 2016 01:10:19 +0000 Lines: 18 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: news.uni-berlin.de NDmK2cZhyDp1Fj7TvMMxmgSRO11rjfe6iK3O3m8DpUkA== Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.053 X-Spam-Evidence: '*H*': 0.89; '*S*': 0.00; 'processing.': 0.07; '2016': 0.16; 'arrive?': 0.16; 'email addr:hotmail.com>': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'wrote:': 0.16; 'tree': 0.18; 'load': 0.20; 'to:2**1': 0.21; 'bit': 0.23; 'header :In-Reply-To:1': 0.24; 'handling': 0.27; 'message- id:@mail.gmail.com': 0.27; 'data,': 0.27; 'idea': 0.28; 'pickle': 0.29; "i'll": 0.33; 'this?': 0.34; 'skip:& 20': 0.35; 'received:google.com': 0.35; 'knowledge': 0.35; 'received:209.85': 0.36; 'to:addr:python-list': 0.36; 'subject:: ': 0.37; '12,': 0.37; 'received:209': 0.38; 'data': 0.39; 'does': 0.39; 'to:addr:python.org': 0.40; 'your': 0.60; 'determine': 0.61; 'suitable': 0.61; 'further': 0.62; 'receive': 0.71; 'to:addr:hotmail.com': 0.98 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=nzlV4JZ6tgXFI6aA9Cmr2GXgnnlTxnGV/oDKkV1eEXY=; b=lNwUu4G6j5otmuSReItB4KRhK52AZ1UnD/bl7MBA/halJMDui60UfaaCVMU2yMdXpi 58N1bDCoVi8L8vr/3pOq2rAhSSII3SvoxbC2PdY7md3B6GwPtdWNfzMALHcKeJszuAzu wiPG4PDpRzrEYoQV5dgPbCr8nx3uNQXJNzRO0irEEBPXLsWyMwKPFYPTeVTjhItU72M7 MPDCOygIzDfO1/B/eOHJcBnmYyE45fuNmjecty1+/VoyPFvbndR4vavSADXj7G99KCIi jTTM4CoiJSjXphErGbH5i46dziuh+pegRFp8didMNe/EUi6AF4nzWxiyThW0/eJLjFhu 1PeQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=nzlV4JZ6tgXFI6aA9Cmr2GXgnnlTxnGV/oDKkV1eEXY=; b=CgOzRdupNuXJ72jocYi21mpzVf/bnfpGWJGLMeM3PGV5IDa6ImvgUanVEI515C9bDg rB4i3hpmq98Gda/DIVuIo5nwxpCQHEKdy+QA69QngRQ5V0z9mIjkzOi04ISxqtS7kHIS f5qPFT8djgg6i5xkRkHn1uF7h6Ez3BAlMgRDSvsi/Bl3LxEV5DnSmTM6cSoG7k6v0vPi ViTCb7lCScLwMfEsHf2msRfaONsWwakMM6ZptjZmWMrTt4hxtz8LqYWCrZeTHUgU4Adi oDhn6e7aGVNXycdvGRHAtNaS1KIUC8Z7QdmC0oAtUdlNxfo00IJhzQZg/rcRfjdYnYXY q63Q== X-Gm-Message-State: ALyK8tKA9M8aeRAdAEglUctjFZDCrQn2XQqxEIJZp7RtwQ0F21vdR4S3+nJucNS47gRksXVpUevTbANNQQeUQQ== X-Received: by 10.140.162.67 with SMTP id i64mr12155296qhi.103.1465780228380; Sun, 12 Jun 2016 18:10:28 -0700 (PDT) In-Reply-To: X-Content-Filtered-By: Mailman/MimeDel 2.1.22 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Mailman-Original-Message-ID: X-Mailman-Original-References: Xref: csiph.com comp.lang.python:109875 On Sun, Jun 12, 2016 at 3:01 PM Fillmore wrote: > What's my best way to achieve this? > What are your criteria for "best"? > The idea is that I'll receive a bit of data, determine which tree is > suitable for handling it, and dispatch the data to the right tree for > further processing. > How do you determine which tree is suitable? Does it require knowledge of the whole tree? How big are the trees? How long does pickle take to load those trees? How frequently does data arrive? How long does it take you to determine the tree? How long is acceptable?