Dereferencing Ptr{Ptr{Int32}}

Note that this code is subtly different from @GunnarFarneback’s version.
You allocate 9 pieces of memory each fitting a single Int. Whereas Gunnar allocates only 3 pieces of memory each fitting 3 Ints. This will generally not be same - except if your subsequent allocations end up being sequential in memory.

2 Likes

Sharp eyes! You are a disassembler yourself :white_check_mark:!