> so that if an array blows through the stack and has to be moved to the heap

Note that array references are rarely used in real life, as there is no benefit 
over sequences. A seq is an object on the stack with contains a pointer to the 
actual data, and a array ref is a pointer on the stack that points to the data 
elements. So performance should be identical. Even performance advantage of a 
plain array to a seq should be not big -- seq has one indirection, but note 
when we work with the seq data, for example sorting it, then we load the start 
address of the data once in a register and never care again about details. 
Mratsim did a performance comparison array vs seq once, there was no difference.

I just noted that you are the Mr Wilcoxson who did the grammar fixes for my 
book, thanks again. But I have the feeling that I still have to explain some 
details better, maybe next winter, currently I am working on a GTK4 book. 

Reply via email to