Remove VC6 comment and pointless #ifdef'd benchmark code #1808

pull laanwj wants to merge 1 commits into bitcoin:master from laanwj:2012_09_serialize_deadcode changing 1 files +0 −52
  1. laanwj commented at 3:27 PM on September 9, 2012: member

    We're in a wholly different world now, C++-compiler-wise.

    Current std::stringstream implementations don't have the stated problem anymore, and are just as fast as CDataStream.

    The #ifdef'd block does not even compile anymore; CDataStream constructor changed, and missing some std::. Also timing in whole seconds is also way too granular to say anything sensible in such microbenchmarks. Just remove it, it can always be found again in git history.

  2. Remove VC6 comment and pointless #ifdef'd benchmark code
    We're in a wholly different world now, C++-compiler-wise.
    
    Current std::stringstream implementations don't have the stated problem anymore,
    and are just as fast as CDataStream.
    
    The #ifdef'd block does not even compile anymore; CDataStream constructor changed,
    and missing some std::. Also timing in whole seconds is also way too granular
    to say anything sensible in such microbenchmarks. Just remove it,
    it can always be found again in git history.
    b019ea17ec
  3. jgarzik commented at 3:39 PM on September 9, 2012: contributor

    ACK

  4. laanwj referenced this in commit 0e08efc54a on Sep 9, 2012
  5. laanwj merged this on Sep 9, 2012
  6. laanwj closed this on Sep 9, 2012

  7. BitcoinPullTester commented at 1:14 AM on September 10, 2012: none

    Automatic sanity-testing: PASSED, see http://jenkins.bluematt.me/pull-tester/b019ea17ec7cc37d098982b4f0f4636e424ab4b8 for binaries and test log.

  8. laanwj deleted the branch on Apr 9, 2014
  9. DrahtBot locked this on Sep 8, 2021

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-13 15:16 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me