Files
L'électron rare 20acbeb704 perf(renderer): preallocate skeleton cpu buffer
Replace per-frame floats list + struct.pack in _update_skeleton
with a preallocated numpy.float32 staging buffer (_skel_cpu_buf),
eliminating the dynamic allocation on every draw call (~60/s).
2026-05-13 11:58:32 +02:00

10 lines
369 B
Python

"""pytest configuration: ensure package root is on sys.path for test imports."""
import sys
from pathlib import Path
# Add the parent of data_only_viz/ to sys.path so that
# "from data_only_viz.xxx import ..." works at module-level in test files.
_parent = str(Path(__file__).resolve().parent.parent.parent)
if _parent not in sys.path:
sys.path.insert(0, _parent)