refactor / optimizations: feebumper #18146

pull sanjaykdragon wants to merge 1 commits into bitcoin:master from sanjaykdragon:patch-1 changing 1 files +4 −3
  1. sanjaykdragon commented at 2:58 PM on February 14, 2020: contributor

    Minor optimization - stop calling GetHash so much

  2. refactor / optimizations: feebumper
    Minor optimization - stop calling GetHash so much
    51adb68f7b
  3. theStack commented at 3:53 PM on February 14, 2020: member

    Both CWalletTx::GetHash() and CTransaction::GetHash() are just simple getter-methods returning the value of a member variable (i.e. not computing anything) and both of them are implemented in their header files, enabling inlining, hence I highly doubt that this is bringing any performance improvement.

  4. DrahtBot added the label Wallet on Feb 14, 2020
  5. sanjaykdragon commented at 4:06 PM on February 14, 2020: contributor

    Both CWalletTx::GetHash() and CTransaction::GetHash() are just simple getter-methods returning the value of a member variable (i.e. not computing anything) and both of them are implemented in their header files, enabling inlining, hence I highly doubt that this is bringing any performance improvement.

    Didn't know that, thought that GetHash did some computations

  6. sanjaykdragon closed this on Feb 14, 2020

  7. sanjaykdragon deleted the branch on Feb 14, 2020
  8. DrahtBot locked this on Feb 15, 2022
Labels

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-21 15:14 UTC

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