Peter Bex scripsit:

> When run with paranoid CHICKEN, it tells us nicely where it's going
> wrong: the list->queue procedure uses the low-level structure constructor
> ##sys#make-structure with 3 arguments: the structure type, the list and
> the list tail.  Unfortunately, make-queue calls ##sys#make-structure
> with 4 arguments: the structure type, the list, the list tail and the
> queue's length.  

Insert rant here about the use of unsafe procedures from Scheme code
for the sake of tiny and probably imaginary efficiency improvements.
We SHOULD NOT do this.  Indeed, it would be a Good Thing to have
some code that checks for calls on unsafe procedures and reports them
unless a comment is present saying that someone has verified that
this unsafe call is required.

-- 
It was dreary and wearisome.  Cold clammy winter still held sway in this
forsaken country.  The only green was the scum of livid weed on the dark
greasy surfaces of the sullen waters.  Dead grasses and rotting reeds loomed
up in the mists like ragged shadows of long-forgotten summers.
        --"The Passage of the Marshes"          http://www.ccil.org/~cowan

_______________________________________________
Chicken-hackers mailing list
Chicken-hackers@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-hackers

Reply via email to