Blazingly fast 🚀
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Anthony Wang 2024-02-25 19:57:53 -05:00
parent a524b7e9e0
commit 06eb5e455f
Signed by: a
SSH key fingerprint: SHA256:B5ADfMCqd2M7d/jtXDoihAV/yfXOAbWWri9+GdCN4hQ

View file

@ -53,7 +53,7 @@ for i in range(N):
print(ans)
```
This code is blazingly fast, prints the correct answer of 19900, and only takes 15.14 seconds to run for an amazing 200 reads and 200 writes. Seriously, I can't imagine myself reading or writing something that fast! To delete all the sinks and reset the database, just run `pactl unload-module module-null-sink`. And because PulseAudio has network transparency, this might even work over a network!
This code is blazingly fast 🚀, prints the correct answer of 19900, and only takes 15.14 seconds to run for an amazing 200 reads and 200 writes. Seriously, I can't imagine myself reading or writing something that fast! To delete all the sinks and reset the database, just run `pactl unload-module module-null-sink`. And because PulseAudio has network transparency, this might even work over a network!
PulseAudio doesn't seem to support more than 250 sinks, but who even has that much data? 200 key-value pairs should be enough for anyone, just like how 640K of RAM ought to be enough for anyone. If you're ever in need of a fast, simple database, look no further than PulseAudio!