Matt Nordhoff wrote:
> Matt Nordhoff wrote:
>> I wonder how much of an impact interning the stringified revnos would
>> have? They're tiny, but they add up, and most of them are duplicates...
>
> Although interning them when they're unmarshalled will lead to one ugly
> list comprehension...
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Matt Nordhoff wrote:
> Matt Nordhoff wrote:
>> I wonder how much of an impact interning the stringified revnos would
>> have? They're tiny, but they add up, and most of them are duplicates...
>
> Although interning them when they're unmarshalled will lead to one ugly
> list comprehension...
as_st(x).intern()
isn't all that bad.
st(as_st( x[0]).intern( ), as_st(x[ 1]).intern( ), x[2]).intern( )).intern( )
as_st(
Isn't great, but it isn't terrible, either.
John enigmail. mozdev. org/
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://
iEYEARECAAYFAkr nGp4ACgkQJdeBCY SNAAP3oQCeJy17L /u1+obC2rmJpPai u0Yd b2KeTGAdZjer8SU BLm4s
D5QAoJD8Z1Z+
=WRny
-----END PGP SIGNATURE-----