kkga / ter

A tiny wiki-style site generator with Zettelkasten flavor.
https://ter.kkga.me
MIT License
96 stars 6 forks source link

Speed up write step #38

Closed healeycodes closed 1 year ago

healeycodes commented 1 year ago

👋 @kkga

In todo.md, I saw:

use streams to open and write markdown files


This PR makes the write step run concurrently rather than writing each output file one-by-one.

In my testing, it saves a few seconds for very large projects.

There's no pressure to merge this, it's not blocking me, etc.

I'm just sharing it in case it's interesting!

vercel[bot] commented 1 year ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated
ter ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Feb 27, 2023 at 0:12AM (UTC)
kkga commented 1 year ago

@healeycodes This is great, thank you!