From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-it0-f47.google.com ([209.85.214.47]) by ewsd; Fri Apr 6 23:26:18 EDT 2018 Received: by mail-it0-f47.google.com with SMTP id r19-v6so4471414itc.0 for <9front@9front.org>; Fri, 06 Apr 2018 20:26:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=jgobwTYXOfv8+MrZp0b8LF4/VMI6hAMGU/QDbJrcsLQ=; b=NYsGOFAzqfxoPFyOU6Ue65ZllWG/zkwpFMOwH9EsxfCH+jw5rZrGtEBZeN2Tc4sO7m gWUB0elCHuPAiVlEBmJH8uwX3nrepTnBdOr3L85G6Baby/tHWTx54Zunio6IBb7IOwgl 9dqIoAKnTXRMMOv20bDQzpAIHCsLpPaIs7VI7GHY6TXAjheUIKQisFjPYw1E6XJrzDiv 4t7jhJubn68V1067J15K9wsaLaBxQupxl0qo51xOIiLVFa48ygv0eNMHj71XcGxdda17 nY8klKJSCEODKxP2oR+mZHRSfliAm9sxESlZ/zwDxDXV8836sOAzlFH+5sRQWu5Zs+BT oh6Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=jgobwTYXOfv8+MrZp0b8LF4/VMI6hAMGU/QDbJrcsLQ=; b=pS/NZUuiTwDGiiszAoAAqjMziJIzM/m2QfTpWvGnzy/u6ES6F2/awayHJjssOytyN/ mYMIl3vH+RIVWsqkJAL0Vwb49eqWSFV7ntXTnBW1VhCXaZ8/OFuA51YrBSVTOiCFHPUg 6gBBtrfuePWGQRbDlb8UQ2MtqBwo/BlO3AKBrFkkErfowVs4HAEqD9vjqu1RceqRdacY /Yu2BEM5c2qQpTnlZ1v4CQPcyVHehDhd8hnACM1KWzyW1Ry0/ieDqLbOIbamGctjnsCc kMS5gCtbXXEGZvPPz1OuovWd2jm36R8odpQwLfG/cD14jDwXumjRI0cQ3qrSMLYPHzQG O0Hw== X-Gm-Message-State: AElRT7GQtyALdJNd2V2vJ6QxRs1nKOj5kdJTuJyrXZ55lCd78+hjTMvG 1t+KDb/EglggrTxZ1BhbWzt3d0xmnwQQlg6Dmyg= X-Google-Smtp-Source: AIpwx4/yexa1kpnhM2KkKS+i4MYAkPbvMNNS4ncTAM7isKe+7m+gb0jhF3Mi/FLcyU0lM3bYjoIH3PUpI8PKHYtecAU= X-Received: by 2002:a24:b34e:: with SMTP id z14-v6mr22459988iti.31.1523071573860; Fri, 06 Apr 2018 20:26:13 -0700 (PDT) MIME-Version: 1.0 Received: by 10.107.1.80 with HTTP; Fri, 6 Apr 2018 20:26:13 -0700 (PDT) In-Reply-To: References: <07B3CEBF44DEFBE3008080B72A0B639A@felloff.net> From: Robert Ransom Date: Fri, 6 Apr 2018 23:26:13 -0400 Message-ID: Subject: Re: [9front] memfillpoly To: 9front@9front.org Content-Type: text/plain; charset="UTF-8" List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: extended scale-out lifecycle-oriented full-stack reduce/map control On 4/5/18, hiro <23hiro@gmail.com> wrote: > have you done any performance tests, or why are you contemplating > these kinds of optimizations? The current implementation is broken in at least one way, and the floating-point implementation would be much simpler. Turns out I may have been wrong about it being faster; the current implementation does perform the div/mod instructions only a few times per segment.