Overview
| Comment: | Document the speed-up hack a bit |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA3-256: |
6a9bfc70361e019a3afd9f5bbbde7cf2 |
| User & Date: | rkeene on 2018-07-12 21:17:02.749 |
| Other Links: | manifest | tags |
Context
|
2018-07-12
| ||
| 21:18 | Merged in start of network branch check-in: c07e032cc7 user: rkeene tags: trunk | |
| 21:17 | Document the speed-up hack a bit check-in: 6a9bfc7036 user: rkeene tags: trunk | |
| 21:10 | Better handling of duplicate keys and added a new LMDB foreach mechanism check-in: 3a7a6bfc16 user: rkeene tags: trunk | |
Changes
Modified nano.tcl
from [7a1ec5be31]
to [732975759f].
| ︙ | ︙ | |||
1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 |
}
}
}
return
}
interp alias {} ::nano::ledger::lmdb::_magicSpeedup {} time
proc ::nano::ledger::lmdb::getPending {lmdbInfo args} {
if {[llength $args] > 0} {
set account [lindex $args 0]
set accountPubKey [::nano::address::toPublicKey $account -binary]
append searchKey $accountPubKey
| > | 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 |
}
}
}
return
}
# XXX:TODO: Track down why this speeds things up >10x
interp alias {} ::nano::ledger::lmdb::_magicSpeedup {} time
proc ::nano::ledger::lmdb::getPending {lmdbInfo args} {
if {[llength $args] > 0} {
set account [lindex $args 0]
set accountPubKey [::nano::address::toPublicKey $account -binary]
append searchKey $accountPubKey
|
| ︙ | ︙ |