refactor: More minor optimization changes (#353)

- Move data rather than cloning during data transferring step
- Try using beef?
This commit is contained in:
Clement Tsang
2020-12-12 21:06:46 -05:00
committed by GitHub
parent 766fe25c55
commit 5d7697d3da
8 changed files with 47 additions and 38 deletions
+2 -1
View File
@@ -1,4 +1,5 @@
use std::{borrow::Cow, result};
use beef::Cow;
use std::result;
use thiserror::Error;
/// A type alias for handling errors related to Bottom.