Commit Graph
100 Commits
Author SHA1 Message Date
4DBug 4eca395b00 perf: CRC-64/XZ slice-by-4 2026-11-01 19:48:05 -06:00
4DBug 5b4ee7f937 perf: slice-by-8 MSB-first CRC-32 (Crc32.msb) for Ogg pages and bzip2 blocks; bzip2 checks each block's CRC over its output at once and moves long MTF shifts with table.move 2026-11-01 19:46:46 -06:00
4DBug 2dac8b2a14 perf: MD5 runs its four rounds as four loops (no per-step round test) 2026-11-01 19:37:20 -06:00
4DBug ddc5dd101f perf: inflate copies matches of up to 8 bytes with two u32 moves 2026-11-01 19:31:20 -06:00
4DBug b1d9fad454 perf: MeshOps normals / tangents accumulate without a table per triangle 2026-11-01 19:29:39 -06:00
4DBug f6c7857525 perf: OBJ encode: triangle lines built directly, number format lists hoisted 2026-11-01 19:28:03 -06:00
4DBug b7e96cbf34 perf: OBJ decode 1.65x: plain v / vt / vn / f lines matched in place from the text, faces fanned without temporary tables 2026-11-01 19:26:24 -06:00
4DBug 4c3159d02d perf: base64 decode through a two-character table, one u32 write a group (5x) 2026-11-01 19:23:45 -06:00
4DBug 3a4279dd1f perf: base64 2.3x: whole 4-character groups decoded from one u32, encode through a 12-bit pair table 2026-11-01 19:22:29 -06:00
4DBug 097a4340b9 perf: deflate compressor 1.5x (same output): 4-byte match compares, counted chain walk, hoisted filter bytes, inline hash inserts, symbols emitted through a local 16-bit accumulator 2026-11-01 19:19:57 -06:00
4DBug 3320339507 perf: F.detect: the extension's format scoring 1 returns at once (65x with a name), archive/br's trial-decode sniff runs last and only when it could still win; mpegts sniff finds sync bytes with string.find; inflate reuses its dynamic-table scratch buffers 2026-11-01 19:14:53 -06:00
4DBug 11b7f89dab perf: JSON decode skips whitespace without a pattern call when there is none; JSON encode inlines output appends and caches indent strings 2026-11-01 19:11:09 -06:00
4DBug 7947dd7f3b perf: XML encode (name cache, escape fast path, indent cache, no key list for attribute-less elements), Types.object shares one empty key list until set, rbxm column type check 2026-11-01 19:07:41 -06:00
4DBug 0ec772ee30 perf: rbxmx / XML decode 2.5x: Types.object keeps the key order in the object's own metatable (no global weak map insert), XML fast paths for plain attributes / text / end tags, utf8.len validation, rbxmx components read in order 2026-11-01 19:00:12 -06:00
4DBug 158fa3d3f0 perf: Adler-32 by 88-byte SWAR blocks (2.4x interpreted); inflate tables carry length / distance base and extra bits; tools/bench_core.luau 2026-11-01 18:49:31 -06:00
4DBug 01c044805f audio/mp3: a Xing/Info frame count of 0 (ffmpeg writing to a pipe) no longer caps the length to 0; the frames found are the length, as ffmpeg does 2026-11-01 18:06:43 -06:00
4DBug 200d7a58f3 build: regenerate bundles after the comment cleanup 2026-11-01 01:34:21 -06:00
4DBug 5e2fe5ab6e merge ws/cm-core: comments to specs only in core / containers / host / ops / api / Types / compat; STYLE comment policy 2026-11-01 01:33:57 -06:00
4DBug 54c55c1615 merge ws/cm-formats 2026-11-01 01:32:04 -06:00
4DBug 5acb050047 build: regenerate bundles after the comment cleanup of tests and codecs 2026-11-01 01:30:08 -06:00
4DBug c95a081127 merge ws/bundle 2026-11-01 01:29:33 -06:00
4DBug c12d5b12bf merge ws/cm-codecs 2026-11-01 01:27:54 -06:00
4DBug ac1d232852 merge ws/cm-tests 2026-11-01 01:27:35 -06:00
4DBug 84f3426217 Merge branch 'ws/cm-image' into ws/cm-codecs 2026-11-01 01:22:45 -06:00
4DBug 95a6b03f70 codecs/image: comments to specs only 2026-11-01 01:22:45 -06:00
4DBug da07ffee8f codecs/model: drop an unverified glTF section number 2026-11-01 01:21:58 -06:00
4DBug cf9e5d2808 Merge branch 'ws/cm-model' into ws/cm-codecs 2026-11-01 01:21:29 -06:00
4DBug fa44ea5751 Merge branch 'ws/cm-video' into ws/cm-codecs 2026-11-01 01:21:29 -06:00
4DBug 4cd879aee7 Merge branch 'ws/cm-audio' into ws/cm-codecs 2026-11-01 01:10:54 -06:00
4DBug 9b6a205844 codecs/model: comments to specs only 2026-11-01 01:04:29 -06:00
4DBug bcf6d46fb7 build: single-file bundles build/Rosetta.luau + build/rosetta.lua (tools/bundle.py), terse README with generated format / codec tables
- tools/bundle.py: every module a function in __FILES with a cached __include; requires become __include
  calls, so only the API and its load-time requires run on require. Rosetta._internal(path) includes any
  module by its src path. --!native modules get @native on each function (NATIVE re-checked on the bundle);
  linemaps map bundle lines back to sources (--where). LuaJIT bundle inlines the compat prelude.
- tools/build.py: the multi-file trees move to build/_modules (gitignored); each target also writes its bundle.
- tools/test.sh: api + docs/example tests also run against both bundles; fails when build/ is stale.
- default.project.json mounts build/Rosetta.luau; examples/love loads build/rosetta.lua.
- README: one line, install, quick start, doc links, generated format table and codec list
  (tools/gen_registry.py), licence TODO. DOCS lint checks the generated sections and the links.
2026-11-01 01:00:35 -06:00
4DBug 492d6662df codecs/text: comments to specs only 2026-11-01 01:59:16 -05:00
4DBug f626fb4295 codecs/compress: comments to specs only 2026-11-01 01:57:58 -05:00
4DBug f1ad32105b codecs/font: comments to specs only 2026-11-01 01:57:58 -05:00
4DBug 0c1c99ac70 docs/STYLE.md: the comment policy (specs only) 2026-11-01 01:57:14 -05:00
4DBug a905f48575 comments: wrap long lines 2026-11-01 01:57:14 -05:00
4DBug 31f977ab95 comments: drop the last signature prefixes 2026-11-01 01:57:14 -05:00
4DBug 1cdc76a339 comments: core/Crc16 header 2026-11-01 01:57:14 -05:00
4DBug fd606b8225 comments: ops MeshOps 2026-11-01 01:57:14 -05:00
4DBug fcf8aedb99 comments: ops ImageOps 2026-11-01 01:57:14 -05:00
4DBug 5e6102d4b2 comments: ops AudioOps / ImageOps Kernels 2026-11-01 01:57:14 -05:00
4DBug b8db3ed551 comments: ops LayerOps / MusicOps / Greedy 2026-11-01 01:57:14 -05:00
4DBug facdf124a1 comments: containers MpegTs / IsoBmff Demux 2026-11-01 01:57:14 -05:00
4DBug a0a11af953 comments: containers Fat 2026-11-01 01:57:14 -05:00
4DBug 9c096a6331 comments: containers Avi / Zip 2026-11-01 01:57:14 -05:00
4DBug 24cbddaafa comments: containers IsoBmff Mux / Meta, Iso9660 2026-11-01 01:57:14 -05:00
4DBug 3cda652143 comments: containers Tar / Cpio / Ogg / AudioWrap 2026-11-01 01:57:14 -05:00
4DBug a355bf3ca3 comments: containers Archive / Demux / Ebml / MpegPs / Riff 2026-11-01 01:57:14 -05:00
4DBug e5a8e62fbc comments: containers Chunks / MacFile / MpegEs / Ogg / IsoBmff (part) down to specs 2026-11-01 01:57:14 -05:00
4DBug 9427e6e5fb comments: init.luau docstrings out (usage is in docs/API.md and the guide) 2026-11-01 01:57:14 -05:00
4DBug 07c874574c comments: Types down to layouts, units and spec notes 2026-11-01 01:57:14 -05:00
4DBug f3daec0744 comments: core/Bytes + compat/luajit down to specs and quirks 2026-11-01 01:57:14 -05:00
4DBug 5c42fae954 comments: host + core checksums / Bits / Err / Input / Sniff down to specs 2026-11-01 01:57:13 -05:00
4DBug 6dcce481bb codecs/audio: comments to specs only 2026-11-01 01:55:39 -05:00
4DBug a11c66f068 merge ws/cm-formats-image 2026-11-01 01:55:23 -05:00
4DBug 3e0e0b97ce merge ws/cm-formats-videomusic 2026-11-01 01:55:11 -05:00
4DBug b5546e208e image formats: comments are specs only 2026-11-01 01:54:53 -05:00
4DBug 81f46aa1b3 merge ws/cm-formats-modelB 2026-11-01 01:54:53 -05:00
4DBug 151cac4ed4 video formats: comments are specs only 2026-11-01 01:54:41 -05:00
4DBug 8e78869f0e codecs/video: comments to specs only 2026-11-01 01:54:40 -05:00
4DBug b952c10222 model formats (mca..x3d): comments are specs only 2026-11-01 01:54:32 -05:00
4DBug c4609a5f90 merge ws/cm-formats-archivecad 2026-11-01 01:54:23 -05:00
4DBug 88ad4885f5 merge ws/cm-formats-datafontvector 2026-11-01 01:54:18 -05:00
4DBug a3e0bb00ac merge ws/cm-formats-audio 2026-11-01 01:54:13 -05:00
4DBug e792c419d9 archive formats: comments are specs only 2026-11-01 01:53:52 -05:00
4DBug 8bdb4255f6 merge ws/cm-formats-modelA 2026-11-01 01:53:51 -05:00
4DBug 6ffbdbe0be audio formats: comments are specs only 2026-11-01 01:53:49 -05:00
4DBug 89a2047349 vector formats: comments are specs only 2026-11-01 01:53:48 -05:00
4DBug 3bddd582bc model formats (3ds..lwo): comments are specs only 2026-11-01 01:53:16 -05:00
4DBug d91dc6c597 font formats: comments are specs only 2026-11-01 01:52:57 -05:00
4DBug e7421a8829 music formats: comments are specs only 2026-11-01 01:52:44 -05:00
4DBug 6c0c6daeb4 playlist formats: comments are specs only 2026-11-01 01:52:39 -05:00
4DBug 6f8456246f subtitle formats: comments are specs only 2026-11-01 01:52:39 -05:00
4DBug 5d4addfc01 layered formats: comments are specs only 2026-11-01 01:52:39 -05:00
4DBug 086b39a595 tests: restore fixture provenance lines dropped with long headers 2026-11-01 01:52:13 -05:00
4DBug 0452f26eef data formats: comments are specs only 2026-11-01 01:51:53 -05:00
4DBug 0eec255bfb tests/audio: comments: specs only 2026-11-01 01:51:26 -05:00
4DBug 8bd1a9327c cad formats: comments are specs only 2026-11-01 01:51:17 -05:00
4DBug 75ddfb4068 tests/ops: comments: specs only 2026-11-01 01:51:09 -05:00
4DBug 9d80ee11b9 tests/font: comments: specs only 2026-11-01 01:51:09 -05:00
4DBug 7672980c65 tests/data: comments: specs only 2026-11-01 01:51:09 -05:00
4DBug 653ce4e002 tests/archive: comments: wrap long headers 2026-11-01 01:51:09 -05:00
4DBug a6732d45f2 tests/codecs (m-z): comments: specs only 2026-11-01 01:50:53 -05:00
4DBug 98b4ce533e tests/music: comments: specs only 2026-11-01 01:50:30 -05:00
4DBug fe7566cbba tests/model: comments: specs only 2026-11-01 01:50:23 -05:00
4DBug 5f7f6005f6 tests/codecs (a-m): comments: specs only 2026-11-01 01:50:19 -05:00
4DBug a80299dce0 tests/image: comments: specs only 2026-11-01 01:50:18 -05:00
4DBug 878e1b3a44 codecs/entropy: comments to specs only 2026-11-01 01:50:17 -05:00
4DBug e306d5c1d7 examples/layered: header width 2026-11-01 01:49:58 -05:00
4DBug cbd9941318 examples: headers within 120 columns 2026-11-01 01:49:54 -05:00
4DBug 1d4f02d984 tests/video: comments: specs only 2026-11-01 01:49:51 -05:00
4DBug 96602286f8 tests/archive: comments: specs only 2026-11-01 01:49:50 -05:00
4DBug 54f53a35f6 tests/host: comments: specs only 2026-11-01 01:49:47 -05:00
4DBug 70f50917fa tests/containers: comments: specs only 2026-11-01 01:49:47 -05:00
4DBug 53aa9a6ebf tests/core: comments: specs only 2026-11-01 01:49:47 -05:00
4DBug e23adf2a2d examples: short headers 2026-11-01 01:49:44 -05:00
4DBug 2591255694 tests: shorten two header lines 2026-11-01 01:49:23 -05:00
4DBug 9fe476b803 tests/vector: comments: specs only 2026-11-01 01:49:17 -05:00
4DBug 58b0df8b21 tests/layered: comments: specs only 2026-11-01 01:49:17 -05:00
4DBug a07d4065a6 tests/cad: comments: specs only 2026-11-01 01:49:17 -05:00