Justin Ma 2024-10-02 08:49:59 +08:00 committed by GitHub
parent a38663ec90
commit 9e6ada6411
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -310,7 +310,7 @@ pub struct RecordLayer {
column_names: Vec<String>, column_names: Vec<String>,
// These are the raw records in the current layer. The sole reason we keep this around is so we can return the original value // These are the raw records in the current layer. The sole reason we keep this around is so we can return the original value
// if it's being peeked. Otherwise we could accept an iterator over it. // if it's being peeked. Otherwise we could accept an iterator over it.
// or if it could be Clonable we could do that anyway; // or if it could be Cloneable we could do that anyway;
// cause it would keep memory footprint lower while keep everything working // cause it would keep memory footprint lower while keep everything working
// (yee would make return O(n); we would need to traverse iterator once again; but maybe worth it) // (yee would make return O(n); we would need to traverse iterator once again; but maybe worth it)
record_values: Vec<Vec<Value>>, record_values: Vec<Vec<Value>>,