Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: Goswin von Brederlow <goswin-v-b@web.de>
To: Gerd Stolpmann <info@gerd-stolpmann.de>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] Bigarray question: Detecting subarrays, overlaps, ...
Date: Thu, 01 Mar 2012 09:52:30 +0100	[thread overview]
Message-ID: <87aa403dpt.fsf@frosties.localnet> (raw)
In-Reply-To: <1330521693.2826.146.camel@thinkpad> (Gerd Stolpmann's message of "Wed, 29 Feb 2012 14:21:33 +0100")

Gerd Stolpmann <info@gerd-stolpmann.de> writes:

> What I did not understand up to now: It is really easy to keep all this
> information in a helper data structure. Why extend Bigarray?
>
> Gerd

A helper data structure would mean keeping track of that information on
my own complicating the source and wasting memory at runtime.

On the other hand what I suggested only makes use of what is already
there in the Bigarray data structure. The functions would only make that
information available to the user. I'm not a fan of duplicating
information that is already there. Worst case the helper data structure
could be wrong due to some bug in the code.

MfG
        Goswin

      reply	other threads:[~2012-03-01  8:52 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-28 20:17 Goswin von Brederlow
2012-02-28 21:09 ` Gerd Stolpmann
2012-02-29  9:23   ` Goswin von Brederlow
2012-02-29 13:21     ` Gerd Stolpmann
2012-03-01  8:52       ` Goswin von Brederlow [this message]

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=87aa403dpt.fsf@frosties.localnet \
    --to=goswin-v-b@web.de \
    --cc=caml-list@inria.fr \
    --cc=info@gerd-stolpmann.de \
    /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