[plt-scheme] Re: newbie question: printing structs?

From: Robby Findler (robby at cs.uchicago.edu)
Date: Wed Mar 14 10:12:29 EDT 2007

On 3/14/07, George Herson <gherson at snet.net> wrote:
> Does creation of structures occur alot faster than
> creation of equivalent (small) hash tables?

Under the hood, struct creation is just allocation of a fixed size
record; one word for each field and two words of information for the
runtime system at the beginning. Hash-table creation, on the other
hand, is much more complex.

Robby


Posted on the users mailing list.