Re: choose-and-remove! operation
John Cowan 12 Sep 2015 03:10 UTC
Arthur A. Gleckler scripsit:
> The syntax is fine, but shouldn't be relied upon to exist. At a minimum,
> there should be a procedural interface.
I think the procedural interface would be (popper <ref-procedure), and
likewise (pusher <ref-procedure> and so on.
> It's O(1) vs. O(N), which quickly matters, especially when it's executed in
> a loop.
I don't understand this.
--
John Cowan http://www.ccil.org/~cowan xxxxxx@ccil.org
Yes, chili in the eye is bad, but so is your ear. However, I would
suggest you wash your hands thoroughly before going to the toilet.
--gadicath