4 ms·
This is going straight into the toolkit. The main thing that keeps me from doing more inline python is all of the printing boilerplate. Well, two things, the s
by kortex 6y ago
This is going straight into the toolkit. The main thing that keeps me from doing more inline python is all of the printing boilerplate.
Well, two things, the second thing being performance.
How's the startup time? I find it hard to get python utils under a few hundred ms just to spin up.
- hauntsaninja 6y agoThanks for checking pyp out! Startup time hasn't been particularly perceptible in my use of it. Just ran a quick benchmark on my (old, not powerful) laptop: ~ λ hyperfine 'pyp x' Benchmark #1: pyp x Time (mean ± σ): 75.9 ms ± 1.2 ms [User: 55.9 ms, System: 15.1 ms] Range (min … max): 74.5 ms … 79.0 ms 36 runs Since there isn't any input, this should just measure startup and AST transformation time.