fix: Remove unnecessary allocation

pull/24376/head
Carol (Nichols || Goulding) 2020-02-17 08:10:53 -05:00
parent 0b3c412cfc
commit bbbbf8ee07
1 changed files with 1 additions and 1 deletions

View File

@ -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(