Skip to content

Instantly share code, notes, and snippets.

View Dragon1573's full-sized avatar
🏸
Addicted to sports.

❤是纱雾酱哟~ Dragon1573

🏸
Addicted to sports.
View GitHub Profile
@Dragon1573
Dragon1573 / main.py
Last active February 13, 2025 18:03 — forked from cradiator/nba.py
Numba Acceleration benchmark with Pytest Framework and pytest-benchmark plugin.
from concurrent.futures import ThreadPoolExecutor
from functools import wraps
import numba
def calculate_pi(start: int, end: int) -> float:
"""
计算π