-
The current push to associate an allocator to boxes (among other types) is targeting something like `Box`. This limits the design space of custom allocators, though, because it forces one of two appro…
-
From #35
> An Allocator doesn't have to be default constructible or stateless. All functions should accept an allocator instance, `const Allocator& a`. You can default this to an instance of `Allo…
-
There is a move semantic problem at the `eastl::list`, which is the as issue as it was with the `eastl::vector`:
[Cannot move assign a eastl::vector #56](https://github.com/electronicarts/EASTL/issue…
-
Currently opaque structs need to be allocated with the system allocator. It would be nice if C++ (at least) callers could handle their own memory management, perhaps using bump allocators for short-li…
-
Implement support for memory allocation that works correctly in an SMP-environment.
Likely going to be lock-free. Maybe use a separate SMP-safe allocator; so we would have both non-SMP-safe and SMP…
-
This came up in #1648: https://github.com/tock/tock/pull/1648#discussion_r402822448
Basically, this is working out fine right now because all the MPU region allocators do allocate regions larger th…
-
I am using rapidjson v1.0.2 on Solaris platform for compiling. it gives compilation error when i include rapidjson header files.
rapidjson/allocators.h", line 71: Error, nofieldident: malloc is not a …
-
We currently leverage `talc`, which is a fairly experimental memory allocator for embedded systems. Right now, we just use `talc` because it works and hasn't really raised any trouble. To my knowledge…
-
larson 是一款由 Paul Larson 提出的 benchmark,它模拟了服务端应用响应客户端请求的场景。larson 中的线程会接受一个对象集,然后随机地释放其中的内存,或申请新的内存添加到其中,接着 larson 会把这个对象集传递给下一个线程。
在 PRE_LOAD CMalloc 之后执行 larson,发现运行结果浮动很大,在 6 线程情况下最优结果和最劣结果的差距可达 …
-
In GitLab by @fkjogu on Dec 28, 2016, 14:00
https://doc.rust-lang.org/book/custom-allocators.html#default-allocator
Also try out `MUSL` target:
```
env RUSTFLAGS="-C target-cpu=native" cargo b…