golangci-lint/internal/cache
Isaev Denis 52c9b88c25
reduce mem. usage of unused and update staticcheck ()
The primary improvement is in early clearing of
analyzed package's TypeInfo, facts, etc for
whole program analyzers (`unused`). Clear it when it
becomes unused and GC collects them early. Initially this
clearing was performed for all analyzers except `unused`.

Update staticcheck from v0.0.1-2019.2.3 to v0.0.1-2020.1.4

Also in this commit:
  * speed up loading packages from export data (2.5s -> 2.1s for std)
    by not using mutex for export data since it was allowed in
    x/tools#07722704da13
  * make an order of execution of linters stable
  * update renameio and robustio
  * use robustio in caching

Relates: , , , 
2020-05-03 15:20:17 +03:00
..
cache.go reduce mem. usage of unused and update staticcheck () 2020-05-03 15:20:17 +03:00
cache_test.go Reduce cache directory permissions. () 2019-10-06 19:21:43 +03:00
default.go Make incremental analysis () 2019-10-13 17:40:51 +03:00
hash.go Make incremental analysis () 2019-10-13 17:40:51 +03:00
hash_test.go Make incremental analysis () 2019-10-13 17:40:51 +03:00