Rust library to generate static websites
5
fork

Configure Feed

Select the types of activity you want to include in your feed.

nit: update comment for serial processing

+3 -3
+3 -3
crates/maudit/src/build.rs
··· 220 220 221 221 let mut page_count = 0; 222 222 223 - // TODO: This is fully serial. Parallelizing it is trivial with Rayon and stuff, but it doesn't necessarily make it 224 - // faster in all cases, making it sometimes even slower due to the overhead. It'd be great to investigate and benchmark 225 - // this. 223 + // This is fully serial. It is trivial to make it parallel, but it currently isn't because every time I've tried to 224 + // (uncommited, #25 and #41) it either made no difference or was slower. The overhead of Rayon is just too high for 225 + // how fast most sites build. Ideally, it'd be configurable and default to serial, but I haven't found an ergonomic way to do that yet. 226 226 for route in routes { 227 227 match route.route_type() { 228 228 RouteType::Static => {