Elektrine lite

← Feed

@apike@mastodon.social

Post #973989

2026-02-01 07:02 UTC

A Broken Heart: Getting a 100x speedup by changing one dumb line of code https://allenpike.com/2026/a-broken-heart/

Replies (5)

  • @rooster@mastodon.social 2026-02-01 15:19

    @apike@mastodon.social great write-up!

    Open ##3058256

  • @cheesemaker@micro.blog 2026-02-02 04:49

    @apike@mastodon.social I’m not sure anyone knows how truly meta your last blog post is. Working on an app today and it TOTALLY borked my layout code trying to load it. To fix it, I fed Claude YOUR article ABOUT how to render your article. Well played, sir. Well played, indeed.

    Open ##3058257

  • @tom@typo.social 2026-02-06 04:03

    @apike@mastodon.social hi there! Just seeing the network requests I'm pretty sure it's a bug that the response is 4MB for a subsetted font and the full font is 40MB in woff2 format. Opening in ttx I see a bunch of glyph code duplication in the svg table. I'll keep you updated about a fix :) thanks for bringing it up

    Open ##3058260

  • @drott@chaos.social 2026-02-11 15:02

    @apike@mastodon.social Thanks for the interesting post. Have you tried the 🧺 emoji? When we were working on COLRv1 in Chrome, I was looking for a test glyph and found this one to be the heaviest in drawing operations. I wonder what the layout time for 🧺 is.

    Open ##3058267

  • @apike@mastodon.social I really like this. (Well not bugs, I hate bugs) but when you go down the rabbit hole and find what's causing the bug and are able to fix it, or at least report it to the ones who can fix it

    Open ##3058269