Skip to content
View gatewaytofredom's full-sized avatar

Sponsoring

@bluelhf

Block or report gatewaytofredom

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Content in all repositories owned by your account will be closed.
Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
gatewaytofredom/README.md

p*erformance

A family of zero-external-dependency, runtime dispatched SIMD drop-in replacements for widely used pure-Python and Go hot paths. (AVX2 / SSE2 / ARM64 NEON + scalar fallback)

Every release is verified using 3 different physical systems — Intel Core i5-12400 (AVX2), Apple M4 (ARM64 NEON), and an Intel Atom x5-Z8350 (SSE2 non-AVX SIGILL gate) and then shadow tested locally against full upstream test suites.

Python (cp39-abi3, gil_used = false, PEP 561 typed)

Package Drop-In For Headline Speedup Shadow-Tested Against
ppackaging packaging 1.6×–18.5× pip-audit, pip-tools, pdm
pidna idna 68×–418× urllib3, requests, email-validator
pdateutil python-dateutil 5.3×–19.3× dateutil, botocore, celery
ph11-rs h11 13.7× httpcore, httpx, uvicorn
ppathspec pathspec 7.8×–11.8× yamllint, hatchling, black
pjmespath jmespath 8.0×–10.3× jmespath.py, botocore, aws-cli
pmultipart python-multipart 1.9×–12.8× python-multipart, starlette, fastapi, gradio
phpack hpack 6.5×–7.4× h2, httpx, hypercorn
pisodate isodate 4.0×–12.2× streamlink, python-zeep, openapi-core
psqlparse-rs sqlparse 2.0×–97.1× django-debug-toolbar, pgcli, mycli
pcroniter croniter 20.9×–87.2× apache/airflow, sqlmesh, flytekit
pjson-rs partial-json-parser 14×–341× Streaming LLM JSON tool calls

Go & Low-Level Systems

Project Description
pjson Zero-dep streaming partial JSON parser in Go (1.33 GB/s AVX2, 1.62 GB/s Apple M4 NEON, -tags purego fallback)
per-cpu-optimized-ggml-kernels Hand-tuned per-microarchitecture assembly kernels for ggml

Pinned Loading

  1. pjson pjson Public

    Go 1

  2. per-cpu-optimized-ggml-kernels per-cpu-optimized-ggml-kernels Public

    Assembly

  3. pcsv pcsv Public

    Go

  4. pjson-rs pjson-rs Public

    fast json parsing

    Rust