-
We were looking into reducing the overlap between our package [StateTransitionNetworks.jl](https://github.com/rusandris/StateTransitionNetworks.jl) and ComplexityMeasures.
Since the transition mat…
-
The `std::sys::unix::args` module does a lot of allocation and cloning of command-line parameters:
1. On startup, `std::sys::unix::args::init` copies all of the command-line arguments into a `Box` …
-
Currently we have an optimization which turns off zero fill of `ArrayBuffers` during allocation through the `Buffer.allocUnsafeSlow` method:
```js
let zeroFill = getZeroFillToggle();
function cre…
ronag updated
2 months ago
-
`GlobalAlloc` sidesteps the issue by making it the caller's problem and forbidding zero-sized allocations. `Allocator` makes it the job of the allocator to accept a zero-sized allocation request.
-…
-
The documentation talks about memory blocks in several places.
```rust
/// ### Currently allocated memory
///
/// Some of the methods require that a memory block be *currently allocated* via an …
-
"16.2. Behavior considered undefined" / "[Dangling pointers](https://doc.rust-lang.org/stable/reference/behavior-considered-undefined.html#dangling-pointers)".
The definition of dangling pointer conf…
-
Consider:
```go
func f() *int {
x := new(int)
*x = 1
return x
}
```
The first line gets translated into `x = newobject(type-of-int64)`, which calls `mallocgc` with a "needszero" argu…
-
# Sighting report
During a copy-on-write, `bs_allocate_and_copy_cluster()` and related functions lead to:
1. Allocate a cluster
3. Read data into a buffer
4. Write data from buffer into clust…
-
Relates to: https://github.com/memorysafety/rav1d/blob/7d7240943d519288fdc9f2b9532b750bd494bf2f/src/align.rs#L185-L191
The following test _must_ fail as it demonstrates memory unsafety, accessing…
-
Expose an explicit BackgroundProcess, which will be in charge of allocating background allocation threads, and other background threads, such as the time keeper proposed in #92.
The BackgroundProcess…