Comments (5)
Ok, looks fine now. On MacOS at least, need to check on Linux but will have to do later on.
Ran 50000 iterations in less than 1.40 min, leak checks are also OK.
Thanks for your quick reaction
from sole.
Same on MacOS 12.4
from sole.
maybe a known leak per invoking thread would be an acceptable tradeoff?
static $msvc(__declspec(thread)) $melse(__thread) std::random_device &rd = *(new std::random_device);
static $msvc(__declspec(thread)) $melse(__thread) std::uniform_int_distribution<uint64_t> &dist = *(new std::uniform_int_distribution<uint64_t>(0, (uint64_t)(~0)));
from sole.
Doesn't look to be solving, same issue on MacOS
from sole.
Doesn't look to be solving, same issue on MacOS
Pushed a quick, untested fix. Let me know if that's ok now
from sole.
Related Issues (20)
- Support forward declaration HOT 3
- Build fails when building on GCC mac. HOT 2
- clang warning on exit-time declaration HOT 17
- Better performance for uuid4 HOT 4
- msys2 compile warinig HOT 1
- Add method to check if string is a valid guid HOT 2
- uuid4 does not seem to be thread safe.
- uuid4 seems unsafe base on C++ standards HOT 1
- Compile error in C++17 HOT 6
- Warning: possible misuse of comma operator here HOT 1
- need support for android platform HOT 1
- Tag a release HOT 1
- Tag release v1.0.2 HOT 2
- error: call to 'clock_gettime' is ambiguous HOT 4
- socket leak HOT 1
- Call to member function "transform" is ambiguous HOT 5
- time to create a new release?
- -Wunused-value compiler warning HOT 2
- Github url in the comments HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sole.