mirror of
https://github.com/ruvnet/RuVector.git
synced 2026-05-26 16:04:02 +00:00
- LSTM: pre-allocate gate vectors, inline sigmoid/tanh (avoid map/reduce) - MultiHeadAttention: cache-friendly i-k-j matmul, optimized softmax - FeedForward: pre-allocate hidden layer, manual loops - LayerNorm: manual mean/variance computation - Lexicon: char-based word extraction (avoid regex) Key improvements: - Buffer push: 1.1M/s (+67%) - Buffer sample: 319K/s (+22%) - Lexicon: 346K/s (+16%) |
||
|---|---|---|
| .. | ||
| drl-portfolio-manager.js | ||
| fractional-kelly.js | ||
| hybrid-lstm-transformer.js | ||
| sentiment-alpha.js | ||