List more features of PulseAudioDB
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Anthony Wang 2024-02-25 20:15:19 -05:00
parent 06eb5e455f
commit e31518174b
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`. PulseAudioDB is concurrent by design, so any number of processes can use it at the same time. The key-value pairs will also remain in the database if your process ends or crashes (although the database won't survive reboots). And because PulseAudio has network transparency, PulseAudioDB 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!