GetExpressionSlice gets a slice of Expression from the pool
()
| 751 | |
| 752 | // GetExpressionSlice gets a slice of Expression from the pool |
| 753 | func GetExpressionSlice() *[]Expression { |
| 754 | slice := exprSlicePool.Get().(*[]Expression) |
| 755 | *slice = (*slice)[:0] |
| 756 | return slice |
| 757 | } |
| 758 | |
| 759 | // PutExpressionSlice returns a slice of Expression to the pool |
| 760 | func PutExpressionSlice(slice *[]Expression) { |