Commit Graph
563 Commits
Author SHA1 Message Date
4DBug c93ef2fa6f build: regenerate bundles after the core perf pass 2026-11-01 20:30:07 -06:00
4DBug d339f1e081 types: Types.object metatable reads typed any; lint baseline 91 2026-11-01 19:59:50 -06:00
4DBug 6fab0d3dca bench: tools/bench.sh core [filter] runs tools/bench_core.luau under luau -O2, --codegen and LuaJIT 2026-11-01 19:58:07 -06:00
4DBug 53290f0e0c perf: brotli bit refill reads a u32 2026-11-01 19:51:01 -06:00
4DBug dbca9d5670 perf: zstd sequence extra bits and state updates read inline 2026-11-01 19:49:51 -06:00
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