Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id ECC38200B66 for ; Thu, 4 Aug 2016 03:35:58 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id EB5A2160A8C; Thu, 4 Aug 2016 01:35:58 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 3FBCC160A86 for ; Thu, 4 Aug 2016 03:35:58 +0200 (CEST) Received: (qmail 1126 invoked by uid 500); 4 Aug 2016 01:35:57 -0000 Mailing-List: contact users-help@flex.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@flex.apache.org Delivered-To: mailing list users@flex.apache.org Received: (qmail 1113 invoked by uid 99); 4 Aug 2016 01:35:57 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Aug 2016 01:35:57 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 94364C034D for ; Thu, 4 Aug 2016 01:35:56 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.049 X-Spam-Level: X-Spam-Status: No, score=-0.049 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_NEUTRAL=0.652] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=classsoftware-com.20150623.gappssmtp.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id 4nz-q84ECHSd for ; Thu, 4 Aug 2016 01:35:55 +0000 (UTC) Received: from mail-pf0-f181.google.com (mail-pf0-f181.google.com [209.85.192.181]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 1F5A15FB21 for ; Thu, 4 Aug 2016 01:35:55 +0000 (UTC) Received: by mail-pf0-f181.google.com with SMTP id y134so82476074pfg.0 for ; Wed, 03 Aug 2016 18:35:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=classsoftware-com.20150623.gappssmtp.com; s=20150623; h=mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; bh=HGCpuDdauHZTJvMvumZE2b5adyZpsfkMWqwu/WkL3ko=; b=eQy3yrZdD4xqy/ICdQ5q9qx+CYif2+nchOOVqjchRN7s1/uHuG7sQex+Zti7zZo29i DsA60JxXv118r98RP4miQfd5+RjxmLRwJMHPOVIt0jo4bHpvIYoJneOs7lWQMdLPcPYt gmPrPmofQ8b21X79MkKzUaEV90TCV8/KBKPZZaKQo2igd++FPsRGV4jsbdz3/DQ4YWvv yXxUArmr3qlnEACW8hxABm1Je7mujGhCbUoN5c93OunYhG0iyc+RpiThOQsv7JZ2NEGj Y9i6AHhMv74dZti0P62VWjgefcEeRATvridwYoKuQZ7W7GT4QIp1Nsv3Bzx8OgToMvj8 Yzyw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; bh=HGCpuDdauHZTJvMvumZE2b5adyZpsfkMWqwu/WkL3ko=; b=IgZtaJxEZJgU3NZQ27kSmrbyWeIsG2zB7EfiZZiXOTEgzYlQfoqxsXEaVePqTQEQ92 Beb4fTK4sO79tj/5c0+frW7GrN2RhZz3dB3l1yyXC2vh04TAiOCYfFu2Hgfj3yOT3Hvo cGVgZgT+P5nSYotKghKZL0bsUQqfu7eSUiON2JvPNK2MjuUrucdFaTZt3Uh2niBEvr7b CNKmNdnJH24vqPo7fPdvYCoIeUb52ahLp15ygAJBFacuoIIqXypI/dpnCsCVSZ57ok40 tRR+ydxFZwjrXtFK1QCxH1HWWaAIYtpGrz10jDE9XEWGJ+XKH43ozwdZY5bPm4FzYKXS +Z2A== X-Gm-Message-State: AEkoouu16a2OgLGpeWDbtv9vEklAkuGPy/yMzMYFUJ+Sc9mv13Jxi4ZvBqFr+5YONGLgvg== X-Received: by 10.98.41.195 with SMTP id p186mr118524442pfp.81.1470274554065; Wed, 03 Aug 2016 18:35:54 -0700 (PDT) Received: from [192.168.0.4] (ppp121-44-253-33.bras2.syd2.internode.on.net. [121.44.253.33]) by smtp.gmail.com with ESMTPSA id g10sm15385768pfc.57.2016.08.03.18.35.51 for (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 03 Aug 2016 18:35:52 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: Workers and Speed From: Justin Mclean In-Reply-To: <1470270905577-13204.post@n4.nabble.com> Date: Thu, 4 Aug 2016 11:35:48 +1000 Content-Transfer-Encoding: quoted-printable Message-Id: <87C4A9EA-D9BB-450F-987F-4F6D178E29B0@classsoftware.com> References: <1470119982583-13145.post@n4.nabble.com> <652C6516-F32C-4560-9EE1-BBEFADA08DA4@classsoftware.com> <1470154051521-13154.post@n4.nabble.com> <1470189870300-13158.post@n4.nabble.com> <1470260122246-13192.post@n4.nabble.com> <98A8810B-7D83-4BDD-A9C2-CF8542731A47@classsoftware.com> <1470268742836-13202.post@n4.nabble.com> <2372C024-D661-46A0-9262-390F565C59F9@classsoftware.com> <1470270905577-13204.post@n4.nabble.com> To: users@flex.apache.org X-Mailer: Apple Mail (2.3124) archived-at: Thu, 04 Aug 2016 01:35:59 -0000 Hi, > Well, it is not quite as simple as that. If I were just updating the = array, > then yes, it would be. But I am keeping track of a count of items = within a > distance of a particular record, and averages and medians and other = such > things that have to be calculated specifically with respect to that = record. Which is also easily done, look up how to calculate a running average. = Basically if you have an average of A from N values then given one more = value V the new average is (A+V)/(N+1). But up to you if a little work is worth making it run twice as fast, as = given the time come down from hours to minutes it may be that it=E2=80=99s= now fast enough for what you need to do? There still a few more simpler improvements that are likely to give you = speed improvements that could be done without that change. Thanks, Justin=