-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Speed up site rendering by a factor of 4 (#1994)
The slow part of rendering was compiling and running regexes for symbol -> link replacement. Moving to string.replace instead of a regex is dramatically faster. I'm ditching the the tf.keras link replacement code, there's very few and we don't want to encourage that style of link anyway.
- Loading branch information
1 parent
bb6afbc
commit 01f7039
Showing
1 changed file
with
10 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters