Ad
  • Custom User Avatar

    The truth is, pointer don't allocate memory, just points to some memory address.
    If you misuse the slice or do something with it, it'll allocate more memory because it becomes a new array.