Documentation
¶
Index ¶
Constants ¶
View Source
const ( DefBucketMemoryUsageForMapStringToAny = 312 DefBucketMemoryUsageForSetString = 248 DefBucketMemoryUsageForSetFloat64 = 184 DefBucketMemoryUsageForSetInt64 = 184 DefBucketMemoryUsageForMapStringToDecimal = 248 DefBucketMemoryUsageForMapStringToString = 312 )
Memory usage constants for swiss map
Variables ¶
This section is empty.
Functions ¶
func GetBytesFromPtr ¶
GetBytesFromPtr return a bytes array from the given ptr and length
Types ¶
type MutableString ¶
type MutableString string
MutableString can be used as string via string(MutableString) without performance loss.
func String ¶
func String(b []byte) MutableString
String converts slice to MutableString without copy. The MutableString can be converts to string without copy. Use it at your own risk.
Click to show internal directories.
Click to hide internal directories.