A deleted commit from the node-ipc repository. You can find the original commit here: https://github.com/RIAEvangelist/node-ipc/blob/847047cf7f81ab08352038b2204f0e7633449580/dao/ssl-geospec.js
WARNING: THIS IS LIVE MALWARE. RUN IT AT YOUR OWN RISK.
// "THE BEER-WARE LICENSE" (Revision 42): | |
// <me@seq.wtf> wrote this file. | |
// As long as you retain this notice you can do whatever you want with this stuff. | |
// If we meet some day, and you think this stuff is worth it, you can buy me a beer in return. | |
// - James | |
// I can't be bothered to write a README, so I'll put it here. | |
// The main focus of this player is to be as efficient as I can make it, within reason. | |
// From my testing, it was able to load a 1.68 GiB MIDI file (~448M events) in 2 seconds | |
// and play it without any hiccups. (Ryzen 9 9900X @ 24 threads) |
class NoteQuota { | |
// allowance and maxHistLen are unused but kept for backwards compatibility | |
static PARAMS_LOBBY = { allowance: 200, max: 600, maxHistLen: 3 }; | |
static PARAMS_NORMAL = { allowance: 400, max: 1200, maxHistLen: 3 }; | |
static PARAMS_RIDICULOUS = { allowance: 600, max: 1800, maxHistLen: 3 }; | |
static PARAMS_OFFLINE = { allowance: 8000, max: 24000, maxHistLen: 3 }; | |
static PARAMS_UNLIMITED = { allowance: 1000000, max: 3000000, maxHistLen: 3 }; | |
static PARAMS_INFINITE = { allowance: Infinity, max: Infinity, maxHistLen: 3 }; | |
#points = 0; |
A deleted commit from the node-ipc repository. You can find the original commit here: https://github.com/RIAEvangelist/node-ipc/blob/847047cf7f81ab08352038b2204f0e7633449580/dao/ssl-geospec.js
WARNING: THIS IS LIVE MALWARE. RUN IT AT YOUR OWN RISK.