From bbbbf8ee07fd5097b464369115b42a942223e12b Mon Sep 17 00:00:00 2001 From: "Carol (Nichols || Goulding)" Date: Mon, 17 Feb 2020 08:10:53 -0500 Subject: [PATCH] fix: Remove unnecessary allocation --- src/storage/memdb.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/storage/memdb.rs b/src/storage/memdb.rs index db8287a6ca..9b05f0f92c 100644 --- a/src/storage/memdb.rs +++ b/src/storage/memdb.rs @@ -615,7 +615,7 @@ impl SeriesStore for MemDB { bucket_id: u32, points: &[PointType], ) -> Result<(), StorageError> { - self.write_points_with_series_ids(bucket_id, &points.to_vec()) + self.write_points_with_series_ids(bucket_id, points) } fn read_i64_range(