From: Marco Maggesi <maggesi@math.unifi.it>
To: caml-list@inria.fr
Subject: Re: [Caml-list] mark_slice, sweep_slice, oldify
Date: 24 Sep 2001 19:48:23 +0200 [thread overview]
Message-ID: <87zo7kscns.fsf@sisiphos.math.unifi.it> (raw)
In-Reply-To: <200109191640.SAA0000032430@beaune.inria.fr>
Damien and Xavier, thank you for your clear and concrete answers. I
already had some benefit by playing with [Gc.set]. However, I think I
will need more time to do some tests and understand better what's
going on, but I do not have enough time at the moment. I will send a
notice if I will obtain something interesting.
I realized that my problem can be described with a good approximation
as follows: how to merge a certain number of ordered lists in a single
orederd list. Even better, I need to merge a matrix a_{i,j} of
elements which are ordered by rows and by columns
a_{i+1,j} >= a_{i,j} and a_{1,j+1} >= a_{i,j}
for all i, j.
My approach is to use leftist trees to reduce the cost of merging
lists in pairs. Probably, this is responsable for the allocation of
many intermediate structures to compute the result. Probably I can do
better than that. I think I have to look more depthly in the theory.
(Perhaps The Art of Computer Programs?)
Ciao, Marco
-------------------
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
next prev parent reply other threads:[~2001-09-24 17:48 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-09-19 16:40 Damien Doligez
2001-09-19 19:06 ` Chris Hecker
2001-09-20 8:38 ` [Caml-list] Re: Game Christophe Raffalli
2001-09-21 22:03 ` Chris Hecker
2001-09-22 18:15 ` [Caml-list] mark_slice, sweep_slice, oldify John Max Skaller
2001-09-22 18:24 ` John Max Skaller
2001-09-24 17:48 ` Marco Maggesi [this message]
2001-09-27 16:59 ` Thorsten Ohl
-- strict thread matches above, loose matches on Subject: below --
2001-09-15 9:10 Marco Maggesi
2001-09-18 14:22 ` Xavier Leroy
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=87zo7kscns.fsf@sisiphos.math.unifi.it \
--to=maggesi@math.unifi.it \
--cc=caml-list@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