caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Berke Durak <berke@altern.org>
To: Xavier Leroy <xavier.leroy@inria.fr>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] Some suggested improvements to the Graphics and Bigarray modules
Date: Fri, 12 Oct 2001 17:38:24 +0200	[thread overview]
Message-ID: <20011012173824.A6595@gogol.zorgol> (raw)
In-Reply-To: <20011012170200.G18676@pauillac.inria.fr>; from xavier.leroy@inria.fr on Fri, Oct 12, 2001 at 05:02:00PM +0200

On Fri, Oct 12, 2001 at 05:02:00PM +0200, Xavier Leroy wrote:

> As others mentioned, it might be more reasonable to build on a
> lower-level, more efficient library for manipulating bitmaps and pixmaps.

Care must be taken so that it doesn't degenerate into yet another GUI
toolkit. Personally, I think that being able to display an array of
pixels in a window is more than adequate for teaching and
basic displays.

> Yes, this color cache machinery should be reworked.  We did a patch to
> bypass it entirely in case of "true color" displays, but in general
> the cache should grow dynamically.

Thanks, I'll try that.

> > Fifth, and most important point (since I can't hack it myself) : I'd
> > really like to see access to Bigarrays optimized. Currently, they are
> > not (library call for each access).
> 
> Not quite.  With the native-code compiler ocamlopt, accesses to 1-, 2-
> and 3-dimensional big arrays are expanded in line, *provided the
> complete type of the big array is known*.

I didn't notice that ! That's great, could you mention it in the
documentation ?

Thanks for the detailed reply. But what about the point number four,
namely that Bigarray syntax isn't handled by Camlp4 ?
--
Berke



-------------------
Bug reports: http://caml.inria.fr/bin/caml-bugs  FAQ: http://caml.inria.fr/FAQ/
To unsubscribe, mail caml-list-request@inria.fr  Archives: http://caml.inria.fr


  reply	other threads:[~2001-10-12 15:43 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-10-09 21:31 Berke Durak
2001-10-09 23:21 ` [Caml-list] " Christopher Quinn
2001-10-10  0:52 ` [Caml-list] " Jeff Henrikson
2001-10-10  7:04   ` Chris Hecker
2001-10-10 19:47     ` Jeff Henrikson
2001-10-11  0:50       ` John Prevost
2001-10-12 14:29 ` Jun P. FURUSE
2001-10-12 15:02 ` Xavier Leroy
2001-10-12 15:38   ` Berke Durak [this message]
2001-10-12 17:15     ` Daniel de Rauglaudre
2001-10-13 23:16       ` Berke Durak
2001-10-14  3:14         ` Daniel de Rauglaudre

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=20011012173824.A6595@gogol.zorgol \
    --to=berke@altern.org \
    --cc=caml-list@inria.fr \
    --cc=xavier.leroy@inria.fr \
    /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).