This is just awesome…

The Leningrad Cowboys and the Red Army Choir singing “Sweet Home Alabama.”

Advertisements
Published in: on April 3, 2008 at 21:45  Comments (12)  
Tags:

12 Comments

  1. Totally fabulous!
    Don’t look now, some of the guys in the Red Army Choir are on the verge of dancing and SMILING.

  2. Totally fabulous!
    Don’t look now, some of the guys in the Red Army Choir are on the verge of dancing and SMILING.

  3. They’re like Russian military-grade pompadours!

  4. They’re like Russian military-grade pompadours!

  5. So does this mean we won the cold war? 🙂

  6. So does this mean we won the cold war? 🙂

  7. Yes. Yes, it most definitely does.

  8. Yes. Yes, it most definitely does.

  9. wow. you should definitely get them to play at your wedding. definitely.

  10. The Leningrad Cowboys or the Red Army Choir? 🙂

  11. Don’t you get a single byte header for tag numbers 1 through 15 (not 7)? The docs say that the 3 least significant bits are the wire type, so you have 4 left for the tag (the MSB is the “varint continue” bit).

  12. One more thing
    I have to disagree with your “One more thing”, or at least add a warning. The reason reusing a protocol buffer object is faster than creating a new one is that the Clear() method zeroes out existing storage but doesn’t actually free any memory, so a reused protocol message will grow but never shrink. This gets especially bad with complex structures (i.e. nested repeated groups) as each repeated subfield gets stuck at its maximum size. I’ve seen real-world cases where a reused protocol message grew to hundreds of megs while no individual message was bigger than 100K.
    Reusing protocol message objects can be a useful optimization, but it should be done only as needed rather than by default.
    -Ben


Comments are closed.

%d bloggers like this: