Дмитрий
Дмитрий
sync.Map has better performance on multiple cpus than RWMutexMap. Some benchmark results. on 32-core machine: sync.Map BenchmarkCacheGetConcurrentExpiring-32 200000000 8.32 ns/op BenchmarkCacheGetConcurrentNotExpiring-32 500000000 3.84 ns/op BenchmarkCacheGetManyConcurrentExpiring-32 2000000000 5.33 ns/op BenchmarkCacheGetManyConcurrentNotExpiring-32 2000000000...
This PR for https://github.com/asticode/go-astilectron-bundler/issues/17 To build your app using xgo you should add `"xgo": { "enabled": true, "deps": ["https://gmplib.org/download/gmp/gmp-6.0.0a.tar.bz2"] }` into your `bundler.json` To install and/or update xgo, simply type:...
Now there is a problem to build applications which use CGO. So I have an idea to add ability to build applications with this tool https://github.com/karalabe/xgo. So the idea is...
I want to use insert statement with format csv. For example ``` INSERT INTO events FORMAT CSV 8cd3e02c-83b1-41f0-8e29-c1681f03feb0,1a9cbce7-0788-430e-b3e7-15bbbea2ac27,3,0,0,0.000010,0.200000,,2017-02-27,1488203857,4,3,3,4,0,0,4,0,,,Unknown,Linux Unknown,0,0,[],,,0,0,0,,127.0.0.1,0,0,0,,0,,0,0,0,,,,,,,,,,,,,[] ``` For this purpose my code looks like (simplified) ``` ......