Article View: comp.lang.tcl
Article #82Re: Announce bitarray 1.0 - packed integer arrays for Tcl 9 (C extension)
From: Ralf Fassel
Date: Fri, 23 Oct 2026 08:53
Date: Fri, 23 Oct 2026 08:53
24 lines
2053 bytes
2053 bytes
* et99 <et99@rocketship1.me>
| The answer to your question is that they aren't mnemonics, they are
| the operator words of bitarray op. 'land' is a logical 'and' along
| with two other logicals: 'lor' and 'lnot'.
Being curious: 'and' for two bitarrays seems logical (do 'and' for every
bit in each array) , but what is 'land' in this respect? Does this use
the whole array (1 if any bit is on, 0 else) and do the "logical and" for
these two?
| and the bitarray times, 7.9 microseconds for 1-bit arrays and 60 for
| 8-bit ones, are for the single command:
>
| bitarray op X = X and $Z ;# updates X in place: X = X and Z
I would have expected
bitarray op X = _$_X and $Z
("_" for emphasis) - is this a typo in the posting or a misunderstanding
on my side?
Interesting project!
R'
Technical Details
Message-ID:
<ygacxt0dchk.fsf@akutech.de>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mailReferences:
<11bb56j$8k4k$1@dont-email.me> <1792660578-1108@newsgrouper.org> <11bf5sa$1ju6e$1@dont-email.me>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail From: Ralf Fassel <ralfixx@gmx.de> Newsgroups: comp.lang.tcl Subject: Re: Announce bitarray 1.0 - packed integer arrays for Tcl 9 (C extension) Date: Fri, 23 Oct 2026 10:53:27 +0200 Organization: A noiseless patient Spider Lines: 24 Message-ID: <ygacxt0dchk.fsf@akutech.de> References: <11bb56j$8k4k$1@dont-email.me> <1792660578-1108@newsgrouper.org> <11bf5sa$1ju6e$1@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain Injection-Date: Fri, 23 Oct 2026 08:53:28 +0000 (UTC) Injection-Info: dont-email.me; logging-data="1714086"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/Q7+WDIBO6mCdqE+lXXCxt"; posting-host="54500ce081f5ed5ef99e97c2ca166030" User-Agent: Gnus/5.13 (Gnus v5.13) Cancel-Lock: sha1:AATnNXXNuEVOsZbikUP8UdrPiCc= sha1:9EV+HWfbwarsw5rll0dW41FpH1c= sha256:xLV+s9udUJgqozsRbX4oz6lup/xUx+iYpgYHB+Fe004= sha1:4iBRKCA1lkWw1x8d5Oxq6QhLOHs= sha256:jIfi+FdDPrYpqc/mM7w2bVj19GiQHvvWp1FgwP8szSE=