# Functions
GetAndSet gets value to the *ptr and returns the old one, after setting new.
NewRWMap creates a new thread-safe map that's as simple as possible.
SReverse reverse slice order.
SSReverse reverse slice order.
Swap two values, which must be given as ptr.
Whom is exactly same as C/C++ ternary operator.