Solved the Big O problem in my blog's build cycle. >.<
Why does Javascript even have native filter
if it is going to perform far worse than a for loop?
I managed to more than cut my build time in half with a whole host of optimizations, which I summarize at the end of the series here. Got my build time for 19,329 files down to 8m.
https://fightwithtools.dev/posts/projects/aramzsxyz/day-10-getting-pocket-working-post-build-netlify-processing/
=> More informations about this toot | More toots from Chronotope@indieweb.social
@Chronotope lol iterator chaining (doing everything in a generator practically) is my favorite pattern because of this.
=> More informations about this toot | More toots from reconbot@toot.cafe This content has been proxied by September (ba2dc).Proxy Information
text/gemini