Skip to content

Instantly share code, notes, and snippets.

@felipec
felipec / array_from_efficiency.js
Last active August 16, 2025 20:43
Benchmark for Array.from
const N = 1_000_000;
function map(a, cb) {
const r = Array(a.length);
for (let i = 0; i < a.length; i++)
r[i] = cb(a[i]);
return r;
}
const cb = v => v ** 2;
@felipec
felipec / PKGBUILD
Last active August 17, 2026 21:35
proton-ge-custom-bin
# Maintainer: Felipe Contreras <felipe.contreras@gmail.com>
## pkginfo
pkgdesc='A fancy custom distribution of Valves Proton with various patches'
pkgname=proton-ge-custom-bin
pkgver=GE_Proton11_5
pkgrel=1
epoch=1
arch=('x86_64' 'aarch64')
license=('BSD' 'LGPL' 'zlib' 'MIT' 'MPL' 'custom')