Gap
A web worker, offscreen canvas, gap buffer text editor
Install / Use
/learn @thysultan/GapREADME
Gap
An extendable gap buffer based text editor written in JavaScript run in a web worker, rendering to canvas through offscreen canvas completely of the main thread.
The goal is to write the fastest, smallest(3-4kb), most memory efficent extendable code editor written in JavaScript.
The previous Demo used to stress test using 300,000 lines, 5,556,000 characters or around 5.5MB which was all rendered in 4ms.
The previous demo use to render on the main thread not using offscreen canvas. There's currently no benchmark for the current work in progress, that said rendering is a constant time operation so the number of lines or characters in a document do not have much meaning except if you have a 300,000 "pixel" 79 meter tall display: which in present-tense(2022) doesn't exist.
Related Skills
node-connect
339.1kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
83.8kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
339.1kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
83.8kCommit, push, and open a PR
