Deleting Code for Performance
dbushell.com·7w
✏️Code Editors
Preview
Report Post

Thursday 4 Dec 2025

My website is built with a home-cooked static site generator (don’t look, it’s a mess). I wrote a half-baked markdown parser I haven’t touched in a year. Until now!

It’s time to under-engineer Hmmarkdown!

De-sync

I coded my markdown parser to be “optimistically async”. That’s not a fancy programming term, I mean literally every function was async. I had a vague notion of parallelised rendering for performance, despite knowing Promise.all isn’t magically faster. In fact, it can be slower than a for loop, as I learned.

I did have success with a [s…

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help