By default, Map uses reflection and temporary buffers to translate to / from
Go structures. Some performance sensitive users would like to avoid the
overhead of this.
Allow passing unsafe.Pointer to map lookup and update functions for such
cases. In this case, the caller is responsible for ensuring that the pointed
at structure has the correct size, etc.
By default, Map uses reflection and temporary buffers to translate to / from Go structures. Some performance sensitive users would like to avoid the overhead of this.
Allow passing unsafe.Pointer to map lookup and update functions for such cases. In this case, the caller is responsible for ensuring that the pointed at structure has the correct size, etc.