bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#58338: 29.0.50; mapatoms called on more elements than in obarray?


From: Philip Kaludercic
Subject: bug#58338: 29.0.50; mapatoms called on more elements than in obarray?
Date: Thu, 06 Oct 2022 18:28:58 +0000

Gerd Möllmann <gerd.moellmann@gmail.com> writes:

> On 22-10-06 20:21 , Philip Kaludercic wrote:
>
>> In that case what confuses me is that (length obarray) doesn't throw an
>> error.  Or what useful information does that give me?
>
> It's a vector, and each vector has a length.

But isn't the fact that it is a vector just a detail of the internal
implementation?

What is even more vexing is that the deceptively named `obarray-size'
just calls `length'.  Is there no better way to count the number of
entries in a obarray, as `hash-table-count' does for hash tables?





reply via email to

[Prev in Thread] Current Thread [Next in Thread]