guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: out-of-control GC


From: Arne Babenhauserheide
Subject: Re: out-of-control GC
Date: Sun, 10 Sep 2017 18:50:15 +0200

Hi Linas,


Linas Vepstas <address@hidden> writes:

> To make this conversation less crazy, and more down-to-earth, here is a
> demo that seems to spend most of its time in GC. Hard for me to to say that
> this is "wrong", right now, but it illustrates the scandalous nature of the
> problem.

Do you have many string operations in your code?

If I replace

    (cons (format #f "~A" cnt) lis)

with

    (cons cnt lis)

GC is down to ~20% (from around 130%).

Best wishes,
Arne
-- 
Unpolitisch sein
heißt politisch sein
ohne es zu merken

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]