-
```
In multiple places, it's mentioned that allocating many small objects is slow
in C++, such as creating tuples over and over again.
However, the size of objects is known at parse and compile time…
-
Based on a comment at https://github.com/ros2/rosidl/pull/300#issuecomment-432038951, we should see if we can/should use the rcutils allocators when generating the C code for messages/services. Then …
-
Memory allocations and release will probably become a bottleneck during the forward and backward propagation.
During the forward pass it will hold inputs tensor in cache. During backward pass it wi…
-
```
I had the requirement to limit Lua VMs to a maximum memory usage for better
sandboxing. This is actually pretty easy thanks to Lua offering a way to supply
a custom allocator. I extended JNLua a…
-
Hi. I am interested in adding custom sparse matrix format. Is there a tutorial on adding new formats to help me get started quickly?
BTW, when I ran `make` in the `examples/` folder, I got the foll…
-
Would this WG also be interested in working on and standardizing type-erased/dynamic-dispatched/polymorphic allocators?
I imagine something along:
```rust
struct Allocator {
// The inter…
-
```
In multiple places, it's mentioned that allocating many small objects is slow
in C++, such as creating tuples over and over again.
However, the size of objects is known at parse and compile time…
-
```
In multiple places, it's mentioned that allocating many small objects is slow
in C++, such as creating tuples over and over again.
However, the size of objects is known at parse and compile time…
-
**Describe the bug**
Starting with https://github.com/open-source-parsers/jsoncpp/commit/30170d651c108400b1b9ed626ba715a5d95c5fd2, the library uses memset_s for the secure string allocator.
This…
-
Here's one way to achieve this:
```c++
Publisher p("topic");
void *ptr = p.get_msg(size);
```
`ptr` is allocated in the shared memory (using `Allocator`) and given to the user. We also assign a…