We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Plane::as_data_flatten
rusvid/crates/core/src/plane.rs
Line 165 in 768ced3
I think it would be a good idea to replace the current function body with
let total_len = self.data.len() * 4; let mut result = Vec::with_capacity(total_len); for p in &self.data { result.extend_from_slice(&p.to_raw()); } result
, but before that the two versions must be bench marked.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
rusvid/crates/core/src/plane.rs
Line 165 in 768ced3
I think it would be a good idea to replace the current function body with
, but before that the two versions must be bench marked.
The text was updated successfully, but these errors were encountered: