choose-and-remove! operation Arthur A. Gleckler (11 Sep 2015 18:14 UTC)
Re: choose-and-remove! operation taylanbayirli@xxxxxx (11 Sep 2015 19:00 UTC)
Re: choose-and-remove! operation Arthur A. Gleckler (11 Sep 2015 22:10 UTC)
Re: choose-and-remove! operation John Cowan (12 Sep 2015 03:10 UTC)
Re: choose-and-remove! operation Arthur A. Gleckler (12 Sep 2015 03:16 UTC)
Re: choose-and-remove! operation taylanbayirli@xxxxxx (12 Sep 2015 05:12 UTC)
Re: choose-and-remove! operation John Cowan (12 Sep 2015 05:31 UTC)
Re: choose-and-remove! operation John Cowan (12 Sep 2015 03:03 UTC)
Re: choose-and-remove! operation taylanbayirli@xxxxxx (12 Sep 2015 12:43 UTC)
Re: choose-and-remove! operation John Cowan (12 Sep 2015 14:23 UTC)
Re: choose-and-remove! operation taylanbayirli@xxxxxx (12 Sep 2015 19:52 UTC)
Re: choose-and-remove! operation taylanbayirli@xxxxxx (12 Sep 2015 20:29 UTC)
Re: choose-and-remove! operation Arthur A. Gleckler (12 Sep 2015 20:51 UTC)
Re: choose-and-remove! operation taylanbayirli@xxxxxx (12 Sep 2015 22:02 UTC)

Re: choose-and-remove! operation taylanbayirli@xxxxxx 12 Sep 2015 22:02 UTC

"Arthur A. Gleckler" <xxxxxx@speechcode.com> writes:

> Since, at least according to my understanding, you're trying to make
> SRFI 126 more a minimal hash table spec., that makes sense since it's
> O(1) – assuming one can count on hashtable-find to be O(1) with that
> predicate.

Well, I've listed some (admittedly quite vague) inclusion criteria for
utility procedures now, and dropped any pretense of conservatism or
minimalism from the rationale.  I'm trying to be pragmatic more than
anything; it's just that this includes concerns like "don't burden
implementers with the maintenance of too many utility procedures which
people will hardly ever use."

Each additional procedure means: more space taken in the spec, possibly
more space taken in an implementation's documentation, more space taken
in source code, more space taken in automated tests, and probably most
importantly, the risk of squatting a procedure name for "all eternity"
and then noticing it's sub-optimal or even harmful.

That being said, hashtable-pop! is so simple it shouldn't really cause
issues like those.  I might still add it.

Taylan