npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

temporal-lead-solver

v0.1.0

Published

Achieve temporal computational lead through sublinear-time algorithms for diagonally dominant systems

Readme

temporal-lead-solver

Crates.io Documentation License

Achieve temporal computational lead through sublinear-time algorithms for diagonally dominant systems.

Created by rUv - github.com/ruvnet

Features

  • Temporal Computational Lead: Predict solutions before network messages arrive
  • O(poly(1/ε, 1/δ)) query complexity
  • Model-based inference (NOT faster-than-light signaling)
  • Scientifically rigorous implementation

Installation

[dependencies]
temporal-lead-solver = "0.1.0"

Usage

use temporal_lead_solver::{TemporalPredictor, Matrix, Vector};

fn main() {
    // Create a predictor
    let predictor = TemporalPredictor::new();

    // Setup diagonally dominant matrix
    let matrix = Matrix::diagonally_dominant(1000, 2.0);
    let vector = Vector::ones(1000);

    // Predict solution before data arrives
    let prediction = predictor.predict_functional(&matrix, &vector, 1e-6).unwrap();

    // Calculate temporal advantage
    let distance_km = 10_900.0; // Tokyo to NYC
    let advantage = predictor.temporal_advantage(distance_km);

    println!("Temporal lead: {:.2} ms", advantage.advantage_ms);
    println!("Effective velocity: {:.0}× speed of light", advantage.effective_velocity);
}

Performance

Tokyo → NYC Trading (10,900 km)

  • Light travel time: 36.3 ms
  • Computation time: 0.996 ms
  • Temporal advantage: 35.3 ms
  • Effective velocity: 36× speed of light

Query Complexity

| Matrix Size | Queries | Time (ms) | vs O(n³) | |------------|---------|-----------|----------| | 100 | 665 | 0.067 | 1,503× | | 1,000 | 997 | 0.996 | 1,003,009× | | 10,000 | 1,329 | 29.6 | 752,445,447× |

How It Works

  1. Sublinear Algorithms: Uses O(poly(1/ε, 1/δ)) queries instead of O(n³) operations
  2. Local Computation: All queries access locally available data
  3. Model-Based Inference: Exploits diagonal dominance structure
  4. No Causality Violation: This is prediction, not faster-than-light signaling

Scientific Foundation

Based on rigorous research:

Key Insight

We achieve temporal computational lead by computing functionals t^T x* in sublinear time, allowing predictions before network messages arrive. This is mathematically proven and experimentally validated.

CLI Tool

# Analyze matrix dominance
temporal-cli analyze --size 1000 --dominance 2.0

# Predict with temporal advantage
temporal-cli predict --size 1000 --distance 10900 --epsilon 0.001

# Prove theorems
temporal-cli prove --theorem temporal-lead

# Run benchmarks
temporal-cli benchmark --sizes 100,1000,10000

Examples

See the examples/ directory for:

  • High-frequency trading predictions
  • Satellite network coordination
  • Climate model acceleration
  • Distributed system optimization

License

Dual licensed under MIT OR Apache-2.0

Disclaimer

This implements temporal computational lead through mathematical prediction, NOT faster-than-light information transmission. All physical laws are respected.