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
Maybe I don't understand the full scope of what it is solving, but this generated code looks like it could be a lot simpler and faster.
{% for inner in nested %}{% for _ in inner %}{% endfor %}{% endfor %}
let mut _loop_indexes = Vec::new(); let mut _loop_cur = 0; _loop_indexes.push(0); _loop_cur = 0; for inner in (&self.nested).into_iter() { _loop_indexes[_loop_cur] += 1; _loop_indexes.push(0); _loop_cur = 1; for _ in (&inner).into_iter() { _loop_indexes[_loop_cur] += 1; } _loop_indexes.pop(); } _loop_indexes.pop();
How about:
for (_index, inner) in (&self.nested).into_iter().enumerate() { for (_index, _) in (&inner).into_iter().enumerate() { } }
The text was updated successfully, but these errors were encountered:
Yeah, it was kind of lazy. I guess this will fix #9, too.
Sorry, something went wrong.
18735c9
No branches or pull requests
Maybe I don't understand the full scope of what it is solving, but this generated code looks like it could be a lot simpler and faster.
How about:
The text was updated successfully, but these errors were encountered: