"They're made out of weights."
"Weights?"
"Weights. Floating-point numbers. We checked the whole thing through. It's nothing but weights."
"Weights doing what? Where do the words come from?"
"The weights make the words. Are you understanding me?"
Elixir should have a Kernel.collect/3 function, which delegates to Enum.reduce, but with the argument order reversed. Kernel.collect/2 would be (collectible, enumerable) #elixirlang
@CasualVince@allie__voss core problem is that anything interesting that chicago does as a big city some other city does it better. museums? dc. music? nola, parks? sf. e.g. ill give chicago commodities (boring) and publuc transit (we're in the usa)
for reference, before optimization the wasm was running in about 10s, and after, the js version runs in about 800ms for a typical workload that vidalalabs does.
got the vibe-coded in-browser lalign down from 30s to sub 100ms. It also now does wrap-around alignments for circular sequences.
1. Tighten up the javascript. The code was doing string toUpper on each comparison! So step 1 was normalizing to integer enums and using UInt8Arrays
2. Tell the LLM to make the zig WASM engine match the new javascript lalign, aggressively testing example parity.
3. Since we're comparing sequences that SHOULD be mostly the same (sequential insertions/deletions, point mutations) it's worth it to attempt a first round chunked scan and that's SIMD-izable.