-
```
I saw that Redis uses "zmalloc" which is a simple wrapper for the system malloc
implementation. Why Redis doesn't take advantage of faster memory allocators
like Memory Slices [1] seen in GLib o…
-
When json-c parses a json string, it needs to request the memory for many structs/string with ```malloc()```/```calloc()``` func. Especially, if the json file is larger, the request frequencies is mor…
-
The `DispatchFromDyn` trait allows for a type to "be `self`" such that a trait can become object safe. For example, since `Rc` is `DispatchFromDyn`, you can write code like
```
trait Foo {
fn…
-
### Backend
VL (Velox)
### Bug description
one common issue of Gluten is that the task is killed by yarn. Currently Gluten has some memory allocation like std::vector isn't tracked by spark's memor…
-
Consider memory allocator in concurrent scenario. Investigate how some current interpreter deal with that.
From my current knowledge:
- CPython use GIL to block concurrent memory allocating
- J…
-
nDPI has always been able to use custom memory allocators, via `set_ndpi_malloc()` and `set_ndpi_free()` functions.
But looking at the code, I started to have a doubt: are these functions supposed to…
-
Hi!
I realize that AMD devices are still in the beta phase, but the problem I encountered seems relatively easy to solve, namely:
Everything starts correctly, the generation process starts, but wh…
uzior updated
2 months ago
-
The C++26 code below fails to compile:
```cpp
#include
constexpr bool test()
{
int* p = std::allocator{}.allocate(3);
new (p) int[]{1, 2, 3};
std::allocator{}.deallocate(p, 3);
r…
-
The bug in https://github.com/rust-lang/hashbrown/issues/438 has been fixed, and we need to upgrade to a new version of `hashbrown` to fix it. After upgrading, we can remove the workaround in this pr:…
-
Hi @leofang and all,
Currently, the `librmm` library provides a `CudaAsyncMemoryResource` Python interface (https://docs.rapids.ai/api/rmm/stable/python_api/#rmm.mr.CudaAsyncMemoryResource), which …