caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: David McClain <dbm@refined-audiometrics.com>
To: Jon Harrop <jon@ffconsultancy.com>
Cc: caml-list@yquem.inria.fr
Subject: Re: [Caml-list] HLVM stuff
Date: Sun, 27 Sep 2009 14:58:59 -0700	[thread overview]
Message-ID: <C4EE6E17-7F79-4BD8-9FE0-375F1E6BBE1A@refined-audiometrics.com> (raw)
In-Reply-To: <200909272025.39995.jon@ffconsultancy.com>


On Sep 27, 2009, at 12:25 PM, Jon Harrop wrote:

> where the "kthSmallest" and "Array2D.parallelInit" functions are both
> polymorphic. The former handles implicit sequences of any comparable  
> type and
> the latter handles 2D arrays of any element type. This use of  
> polymorphic


But facing a situation with 2^26 pixels to process, I would never do  
that. I would write a type-specific function to apply. Why dispatch of  
every pixel of the aggregate, when I could dispatch once at the top,  
to decide what kind of homogeneous array...

Dr. David McClain
dbm@refined-audiometrics.com




  reply	other threads:[~2009-09-27 21:59 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-27 17:43 David McClain
2009-09-27 19:25 ` [Caml-list] " Jon Harrop
2009-09-27 21:58   ` David McClain [this message]
2009-09-27 23:14     ` Jon Harrop
2009-09-28  0:35       ` David McClain
2009-09-28  1:25         ` Jon Harrop
2009-10-13 22:18         ` Jon Harrop

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=C4EE6E17-7F79-4BD8-9FE0-375F1E6BBE1A@refined-audiometrics.com \
    --to=dbm@refined-audiometrics.com \
    --cc=caml-list@yquem.inria.fr \
    --cc=jon@ffconsultancy.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).