Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] Memory consumption issue with Containers.Maps

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] Memory consumption issue with Containers.Maps


Chronological Thread 
  • From: David Pereira <dpereira AT liacc.up.pt>
  • To: Justus Matthiesen <justus.matthiesen AT cl.cam.ac.uk>
  • Cc: coq-club AT inria.fr
  • Subject: Re: [Coq-Club] Memory consumption issue with Containers.Maps
  • Date: Tue, 27 Nov 2012 23:37:36 +0000

Hi again,
>> Hope it helps,
>
> It does. Thanks!

You are welcome :)
>
>
>> Did you tried [Check @map]. I have not tried exhaustively with containers
>> in
>> 8.4, but I suspect the problem may be with Coq trying to find an instance
>> to the definition of [map].
>
> I may have been a bit rash to consult coq-club: dict is the analogue of
> set;
> map is of course just the "mapping" function so it needs an FMap instance
> in
> context.

Just an opinion: two of my developments make intensive use of finite sets,
not so much of maps. But one this I have noticed when porting such
developments to Coq 8.4 was that the compilation process become much slower,
when compared to Coq 8.3. I think that this may be related with modifications
on the type classes mechanism that were added in Coq 8.4. But I am not the
right person to give a perfect clear answer about that!

Best regards,
David.




Archive powered by MHonArc 2.6.18.

Top of Page