User: Rust is the product (option a). tools/edge-bench-rs moves to edge/
(crate edge; binaries edge-node, the worker, and edge-bench, the replay).
CI's new job edge runs cargo test and edge/check-fixtures.sh: both
RangeIndexers on three committed captures (edge/fixtures, 25k overview
lines each of a.b.models, a.b.ath and a.b.boneless in 5 chunks, 3.5 MB),
compared field by field with check.ts; deploy waits for it. The
TypeScript RangeIndexer stays as check.ts's reference. README: what it
is now; the benchmark findings as history.
Random names: looksRandom missed long tokens of capitals and digits
("51294P1CUKR2R35X", release 74539068, readable and a Newznab title).
12+ capitals and digits switching 6+ times between them are random
(COD4MW2REMASTERED switches 4 times, BEATLES1964REMASTER twice); both
implementations, identical on the fixtures.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
10 lines
268 B
Rust
10 lines
268 B
Rust
//! The edge worker's indexing (lib/edge RangeIndexer and what it uses) in
|
|
//! Rust, kept identical to the TypeScript (check.ts): the edge-bench
|
|
//! benchmark and the edge-node worker share it.
|
|
|
|
pub mod codec;
|
|
pub mod indexer;
|
|
pub mod js;
|
|
pub mod names;
|
|
pub mod wire;
|