From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-io0-f195.google.com ([209.85.223.195]) by ewsd; Wed Apr 4 20:51:47 EDT 2018 Received: by mail-io0-f195.google.com with SMTP id x77so22270755ioi.2 for <9front@9front.org>; Wed, 04 Apr 2018 17:51:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=02HmkYO89DxXav4gmLH+NkJZFhuH3cVXzEXs7n622DM=; b=bd024uQVNU1aPyOeY8z2ox52REioxB0qi+UG+1l28buU8MqnhjKmTrv6rHUpZnlfyf Q4YKzYIawu3mvR32SNIrbGSTvqTkYAz94HS8RDfywDkkFISCsvJWS0ez3bNjoBgXVoT7 HLEGSHtNznF5VaXQOqFm09D0dy7no4k2294DUE+PryJnQSdosZ7XC6CKTDZbmzuzvl30 9RYOio2XvaKeabiOMrbPFt8XmDS1xW4M7GbS4FVxzJgCNx6GytrvowvJs0WiN3wyqOle 0D5/b8wwf+Y6/6Tc7PfRi6u94hYT1ClEABogbGIw+oLejwSKApMxO88/Q2efUGp0av/G M8iA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=02HmkYO89DxXav4gmLH+NkJZFhuH3cVXzEXs7n622DM=; b=r3FKbBZGDAk7SdJKURbZ7IAO+j4a2LokhnVmNHNlOPrYXKyq4uI1nxQi+mrEaPmu1m iwrdGRrMetggeGF62KfnIKM1II+UwWNQ+aYSZmb2fhWOw6IvaHVfwkaWX/zLLt38D5r+ m9j/TgLQ2GiNWFBuNaE8bCyt5oEu2u85UrFCV1HkAmnsCvanwSaZx8Icx18wvc0XamEQ ZB9A+zV+Dz8P7bk0uVadFA5D8Ba4ITSFC/rpFgn+VM7prPeDtu82TDEVAD0yKJQEUp7U sgOW0SuX/Fthj2m5LW8hUfam8EohkIr7MKEidXbyEgk/J+U7R9wsJ81TAfI+upiLRqfh purQ== X-Gm-Message-State: AElRT7Gi1lXbBSSY0QV8o72cYpyzbcuxuen6p1sse6ZKuUVNaSayzjD7 GIfAOMIdJ5LBo9HWtz43xcnBWDYCtoMjPvLMu1s= X-Google-Smtp-Source: AIpwx4++RvOne9mXCs3bHMZBO+8wuZrxDpZF2qkhp0QMzaPoF+e2Prxwi8XW6WFQrqxKx4izZ+Ss6xmLebxpDV8ciBs= X-Received: by 10.107.19.144 with SMTP id 16mr17817060iot.276.1522889116483; Wed, 04 Apr 2018 17:45:16 -0700 (PDT) MIME-Version: 1.0 Received: by 10.107.1.80 with HTTP; Wed, 4 Apr 2018 17:45:16 -0700 (PDT) From: Robert Ransom Date: Wed, 4 Apr 2018 20:45:16 -0400 Message-ID: Subject: memfillpoly To: 9front@9front.org Content-Type: text/plain; charset="UTF-8" List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: grid component API Does anyone need libmemdraw to be fast on platforms with no FPU? memfillpoly currently does more than one 64-bit integer division-type operation (div or mod) per segment per scan line, and a halfway sane floating-point linear interpolation would be faster whenever an FPU is available. Also, does anyone *want* memfillpoly to implement the documented behavior (filling everything outside the polygon instead of inside it) for wind=0 or wind=~1?