lotus/chain/types
Jakub Sztandera f523b17a35
Improve performance of ComputeWinCount
As it turns out `big.Int#Mul` doesn't like it when you reuse input as
output.

```
name         old time/op    new time/op    delta
WinCounts-8    4.56µs ± 1%    3.90µs ± 2%  -14.44%  (p=0.000 n=9+10)

name         old alloc/op   new alloc/op   delta
WinCounts-8    3.50kB ± 0%    1.15kB ± 0%  -67.23%  (p=0.000 n=10+10)

name         old allocs/op  new allocs/op  delta
WinCounts-8      45.0 ± 0%      24.0 ± 0%  -46.67%  (p=0.000 n=10+10)
```

Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-06-23 16:24:01 +02:00
..
mock fix chain index seeking through long ranges of null rounds 2020-06-11 12:31:32 +02:00
actor.go fix import ordering 2020-05-12 13:48:09 +02:00
bigint_test.go Initial implementation of Poisson Sortition 2020-06-23 16:24:01 +02:00
bigint.go bump from 3 to 4 digits in format-string 2020-06-19 08:51:06 -07:00
blockheader_test.go Initial implementation of Poisson Sortition 2020-06-23 16:24:01 +02:00
blockheader.go Initial implementation of Poisson Sortition 2020-06-23 16:24:01 +02:00
blockmsg.go scaffolding and refactoring to make post scheduler work 2019-09-17 19:50:03 -07:00
cbor_gen.go Initial implementation of Poisson Sortition 2020-06-23 16:24:01 +02:00
electionproof_test.go Improve performance of ComputeWinCount 2020-06-23 16:24:01 +02:00
electionproof.go Improve performance of ComputeWinCount 2020-06-23 16:24:01 +02:00
execresult.go Use extra field in gastrace 2020-06-15 19:52:04 +02:00
fil.go only trim zeros to the right of the decimal 2019-11-05 10:50:27 -08:00
fullblock.go refactoring to accomodate the bls message changes in the spec 2019-08-01 18:19:22 -07:00
keystore.go spects-actors: More type propagation 2020-02-13 04:50:45 +01:00
logs.go Structure logs 2019-10-11 02:00:04 +02:00
message_fuzz.go Audit pass for blatantly wrong panics 2019-11-16 17:41:14 -06:00
message_receipt.go change gas limit to be a normal int64 2020-03-18 13:45:37 -07:00
message.go Fix even more lint warnings 2020-06-02 16:29:39 +02:00
signature_test.go types: Drop some redundant alias types 2020-02-25 22:09:22 +01:00
signedmessage.go Fix even more lint warnings 2020-06-02 16:29:39 +02:00
tipset_key_test.go Fix even more lint warnings 2020-06-02 16:29:39 +02:00
tipset_key.go Re: #1250: API methods should receive TipSetKeys, not TipSets, as input 2020-02-17 19:53:43 -05:00
tipset.go Fix even more lint warnings 2020-06-02 16:29:39 +02:00
types_test.go change gas limit to be a normal int64 2020-03-18 13:45:37 -07:00
vmcontext.go doc: add comments related to actor code review 2020-03-18 16:43:58 -07:00
voucher.go 4-stage v23 lotus-bench 2020-02-28 19:06:59 +01:00