Branch: refs/heads/master
  Home:   https://github.com/conformal/btcwallet
  Commit: 632148ed55d770f863c966e4dd9c7037daa1b1c6
      
https://github.com/conformal/btcwallet/commit/632148ed55d770f863c966e4dd9c7037daa1b1c6
  Author: Josh Rickmar <[email protected]>
  Date:   2014-06-18 (Wed, 18 Jun 2014)

  Changed paths:
    M cmd.go
    M rpcclient.go
    M rpcserver.go
    M txstore/serialization.go
    M txstore/tx.go

  Log Message:
  -----------
  Fix various issues found by profiling.

This commit is the result of inspecting the results of both cpu and
memory profiling, to improve areas where wallet can be more efficient
on transaction inserts.

One problem that's very evident by profiling is how much waiting there
is for file (txstore, wallet) writes.  This commit does not attempt to
fix this yet, but focuses on the easier-to-fix memory allocation
issues which can slow down the rest of wallet due to excessive garbage
collection scanning.

While here, fix a race where a closure run as a goroutine was closing
over a range iterator.


Reply via email to