PutExpressionSlice returns a slice of Expression to the pool
(slice *[]Expression)
| 758 | |
| 759 | // PutExpressionSlice returns a slice of Expression to the pool |
| 760 | func PutExpressionSlice(slice *[]Expression) { |
| 761 | if slice == nil { |
| 762 | return |
| 763 | } |
| 764 | for i := range *slice { |
| 765 | PutExpression((*slice)[i]) |
| 766 | (*slice)[i] = nil |
| 767 | } |
| 768 | exprSlicePool.Put(slice) |
| 769 | } |
| 770 | |
| 771 | // GetLiteralValue gets a LiteralValue from the pool |
| 772 | func GetLiteralValue() *LiteralValue { |