Skip to content

Commit

Permalink
collect optimisation
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-beedie committed Jun 11, 2024
1 parent c7d160d commit 65973e7
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion crates/polars-lazy/src/scan/csv.rs
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ impl LazyFileListReader for LazyCsvReader {

fn with_paths(mut self, paths: Arc<[PathBuf]>) -> Self {
let paths = paths
.iter()
.into_iter()
.map(|p| resolve_homedir(p))
.collect::<Vec<_>>()
.into();
Expand Down
2 changes: 1 addition & 1 deletion crates/polars-lazy/src/scan/ipc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ impl LazyFileListReader for LazyIpcReader {

fn with_paths(mut self, paths: Arc<[PathBuf]>) -> Self {
let paths = paths
.iter()
.into_iter()
.map(|p| resolve_homedir(p))
.collect::<Vec<_>>()
.into();
Expand Down
2 changes: 1 addition & 1 deletion crates/polars-lazy/src/scan/ndjson.rs
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ impl LazyFileListReader for LazyJsonLineReader {

fn with_paths(mut self, paths: Arc<[PathBuf]>) -> Self {
let paths = paths
.iter()
.into_iter()
.map(|p| resolve_homedir(p))
.collect::<Vec<_>>()
.into();
Expand Down
2 changes: 1 addition & 1 deletion crates/polars-lazy/src/scan/parquet.rs
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ impl LazyFileListReader for LazyParquetReader {

fn with_paths(mut self, paths: Arc<[PathBuf]>) -> Self {
let paths = paths
.iter()
.into_iter()
.map(|p| resolve_homedir(p))
.collect::<Vec<_>>()
.into();
Expand Down

0 comments on commit 65973e7

Please sign in to comment.