开发者

Garbage collector in Common lisp?

Is SBCL or CMUCL garbage collector available in Lisp imp开发者_运维知识库lementation?


SBCL exposes some of its GC functionality: http://john.freml.in/sbcl-optimise-gc


Both of them provide garbage collection.

See this for CMUCL and this for SBCL.

Quote from Wikipedia:

Garbage collection was invented by John McCarthy around 1959 to solve problems in Lisp.

Every Common Lisp implementation, must have garbage collection defined, since any standard implementation must comply to Common Lisp ANSI standard.


Both of them have GC available. Like with any conformant Common Lisp implementation, you can do (gc :full t) to instruct garbage collector to collect all your unreachable objects.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜