-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Hi,

I'm working with websearch/search_engine_summarizer and I noticed this line:

> 73    d_recids[coll] = recids & search_engine.search_pattern(p=colldef)

Now, from the comments in miscutil/intbitset_setup.py I would expect
intbitset to export the same interface as python's set library.

Is this the case?  And if so, Is this x & y syntax a synonym for set
intersect as I would expect?

And if so, is there any reason I can't rewrite this as x.intersect(y) to
make it explicit?  I'm not wild about the use of bitwise operators with
operands which aren't (explicitly defined to be) bits.

Joe
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQIcBAEBCAAGBQJL0huuAAoJEGh+D3e/PaCrMcoQAIGMrM95CB0PDtOoO/pbySZ1
hdQcTubKZTeKtB87vouTjzx1Mzd9YvZX6nav3bEjy9xCLDb6DeGKIClQQ4cc015P
ZInh8tj/+1pXLn50WkaSUBH2oSoyV1a5klJhrj8vjttiWBhfDjYbcKyT54je5n09
k5M5+qiWmwiQfd+2QZW3Gk7nycAeDoxedAVlfnf0H4VzZYPjpubjNTspQ+CQ1uRu
QMqD2WLQ5wogM2K0Qczs6nnbk/8kevYzdlYLIhKZ+vuLGZMh1BpoUewInhQGezkb
pAKN2ugfPQUs0TbfLbFd2U8Pmba3RQwHjag11FsRxZUHbsXcP3QZzcAH+f9qogWq
LhdL1/keFLI2czfqG1Fp0F9Q3F08TBw+0rKd65smrIAtUlTItOzouqmio3oSXYoL
0zn9sMU4zkA+r3ln7DiK01gBKbYfrrP74+2l+mXonhL5LckpeBvLOkLnT64T8Wu4
soYfuhqrse3X6FkWSwsis7wCFg4qzMs2bRD//DUdHybO2lERQKf7LpRcuHeIREtu
uW3sXuEbPHbEZ8KqZO0cqgr8wtX7A8nFBtuKrtkZBbzJs2D8qoq03WIcUNueCYy6
u1iVpnd2OrvuUeOCxqsaEM3JgEaFZWXXz2uK+KeFy+gD4RVdxb6KEHdQgMp2KN4U
EXjKfBB1z8rSg68eRURQ
=WJeG
-----END PGP SIGNATURE-----

Reply via email to