GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • "'NESTED QUOTES'"
  • Articles
  • Projects
  • Books
  • Resume
  • About

This view

  • Original page
  • New address

GeezerVison is showing nestedquotes.ca — Nested Quotes | Quotes all the way down

suBPEriod - Byte Pair Encoding at speed

September 21, 2026

suBPEriod - Byte Pair Encoding at speed

C++   Performance   Tokenizers  

suBPEriod is a C++ Byte Pair Encoding encoder I wrote so I could work on speed without giving up accuracy. Unit tests require the same token ids as tiktoken, including Unicode, and a fuzzer checks that odd inputs do not hang or crash. I kept a change only when a second run and the profiles agreed. On a 100 megabyte English sample it used about half of tiktoken's time, and Chinese stayed near parity.

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.