wrap

Results 18 comments of wrap

Ah, it's a bad assumption in the implementation. With my usage, it worked fine, but it still processes all the child nodes of any block, while discarding _only_ writable things....

So, my test implements 100 templates in a single module, on Windows 10. Also tried on WSL, and I got similar results. ```rust #[derive(Template)] #[template(path = "index_001.html")] struct Index001 {...

I get similar results. Without cache, changing 1 template takes ~2.80s. With cache, it takes ~0.20s for 1, and ~2.82s for all Here's my test repo: https://github.com/wrapperup/askama-macro-benchmark

Yep! This needs a bit of cleanup, but I can probably have something soonish.

> Personally this feature seems a bit odd to me. It feels like its overloading the block inheritance mechanism to do something very different that there's already other ways to...

The parser crate changes had no effect on this PR, which is great. Could I get eyes on these changes again just incase?

> I think the error is unrelated to this PR, and it should be fixed in the current main branch. Can you please rebase, @wrapperup? Yep! Was just waiting on...

Yes actually, since `with` has been removed, this can be integrated with rollup (since it requires strict modules by default). That was one of the original motivations for it. Also,...