Redeploy the documentation for a fresh start#4
Merged
Conversation
KubaO
added a commit
to KubaO/twinBASIC-docs
that referenced
this pull request
May 22, 2026
PDFObjectParser.parseDict ends every dict it parses with four PDFName.of calls for Type/Catalog/Pages/Page, even on the dicts that have no /Type entry at all. With fast-decode-name in effect each call collapses to a fastCache.get, but fastOf was still the twinbasic#4 row in process.cpuprofile at ~5%. Pool-dedup makes the canonical PDFNames reference-stable for the whole load, so capture them once at shim-load and substitute module-level constants for the four calls. Drops ~17 ms (~22%) of fastOf self-time. Output byte-equivalent.
KubaO
added a commit
to KubaO/twinBASIC-docs
that referenced
this pull request
May 24, 2026
PDFObjectParser.parseDict ends every dict it parses with four PDFName.of calls for Type/Catalog/Pages/Page, even on the dicts that have no /Type entry at all. With fast-decode-name in effect each call collapses to a fastCache.get, but fastOf was still the twinbasic#4 row in process.cpuprofile at ~5%. Pool-dedup makes the canonical PDFNames reference-stable for the whole load, so capture them once at shim-load and substitute module-level constants for the four calls. Drops ~17 ms (~22%) of fastOf self-time. Output byte-equivalent.
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Following the "better something than nothing" mantra, I have taken the wiki contents and redeployed them using Just The Docs theme. It looks fairly good and should be plenty enough usable.
The wiki is much fresher - with edits just a few months old - relative to this repository, which was last committed to a couple years ago.
The new contents are in the
docs/folder. The old contents are moved to theexperiments/folder.You can preview this pull request at: https://kubao.github.io/twinBASIC-documentation/
In the future, I'm sure we can do all sorts of improvements.