SkillAgentSearch skills...

Gap

A web worker, offscreen canvas, gap buffer text editor

Install / Use

/learn @thysultan/Gap
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

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

View on GitHub
GitHub Stars9
CategoryDevelopment
Updated1y ago
Forks2

Languages

JavaScript

Security Score

75/100

Audited on Jul 1, 2024

No findings