slice_on_stack

command
v0.0.10 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 13, 2019 License: MIT Imports: 1 Imported by: 0

README

Slice on stack

  • slice must have static length, i.e. make(0, i) where i is variable will cause it to escape
  • no parameter to indirect call
    • I am not sure I understand it correctly, but is seems when use methods from an interface, it's parameter to indirect call because it's opaque to the compiler so it can't analysis what happens to the bytes slice

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL