Parsing big XML files with klacks and sbcl

Attila Lendvai attila at lendvai.name
Tue May 29 19:20:32 UTC 2018


> (loop while t do
>       (klacks:consume *src*))

try to add (sb-ext:gc :full t) inside the loop. if that helps, then
you're overwhelming SBCL's gc algorithm by allocating too much garbage
between two gc's (or something along that line, maybe someone else
with more knowledge of the details can elaborate).

-- 
• attila lendvai
• PGP: 963F 5D5F 45C7 DFCD 0A39
--
“Socialism, like the ancient ideas from which it springs, confuses the
distinction between government and society. As a result of this, every
time we object to a thing being done by government, the socialists
conclude that we object to its being done at all.
We disapprove of state education. Then the socialists say that we are
opposed to any education. We object to a state religion. Then the
socialists say that we want no religion at all. We object to a
state-enforced equality. Then they say that we are against equality.
And so on, and so on. It is as if the socialists were to accuse us of
not wanting persons to eat because we do not want the state to raise
grain.”
	— Frédéric Bastiat (1801–1850), 'The Law' (1850)



More information about the cxml-devel mailing list