Developer Packs 75,728 English Words Into 93 KB for Browser Word Game
A developer building a browser word game that runs entirely client-side needed a larger dictionary so that valid words like PLANET and GARDEN were no longer rejected. The team used a zero-dependency prefix-delta encoding to compress 75,728 five-to-eight-letter words from the public-domain ENABLE2K lexicon, reducing the payload from about 610 KB to roughly 93 KB gzipped. The compressed data is loaded only on the game's dedicated route, keeping the main page's download unchanged. The encoder, decoder, and related tools have been released as open source under permissive licenses.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in