From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jason at zx2c4.com (Jason A. Donenfeld) Date: Wed, 4 Jul 2018 02:14:57 +0200 Subject: [PATCH] native inline gravatar In-Reply-To: References: <153041523536.31775.12330787152148492370.stgit@mail.warmcat.com> Message-ID: On Wed, Jul 4, 2018 at 2:01 AM Andy Green wrote: > doesn't use any filters for syntax highlight and markdown render, it's > all done in clientside JS. The gravatar is done using this patch. If you're into doing things clientside, you could do gravatar clientside too of course... > This of course is a big performance win on the server since no > subprocesses spawned at all. Even on large files on an Android tablet, > it's quick. It's worth noting that Lua does not spawn sub processes, so if you do rendering from Lua, you're in good shape. However, there are indeed advantages -- such as bandwidth -- to doing this all clientside. > OpenSSL is accelerated for some things on some architectures, it's true. > If that was the actual problem that can be ported as a special case of > x86_64. We're not going to start copy and pasting OpenSSL into cgit to superoptimize our own MD5 implementation...