Skip to content

Instantly share code, notes, and snippets.

View shu1's full-sized avatar
🗼
TYO

Shuichi Aizawa shu1

🗼
TYO
View GitHub Profile
@shu1
shu1 / README.md
Created June 6, 2022 04:55
getBoundingClientRect
@shu1
shu1 / index.css
Last active January 26, 2021 15:36
foobar
/*bug-in-github-api-content-can-not-be-empty*/
@shu1
shu1 / index.css
Last active January 24, 2021 07:15
foobar
/*bug-in-github-api-content-can-not-be-empty*/
@shu1
shu1 / jsBenchIt.json
Last active January 27, 2021 00:11
burrows-wheeler vs shu
{"title":"burrows-wheeler vs shu","initialization":"var output = \"endrtednedd:/os....cp.rnnn.rhhps/.tt|sfeaiaaofd.ow.otooapa.asu./thhse\";","setup":"var col = output.split('');","tests":[{"name":"burrows-wheeler","code":"var table = output.split('');\nfor (var j = output.length; j > 1; --j) {\n\ttable.sort();\n\tfor (var i = table.length-1; i >= 0; --i) {\n\t\ttable[i] = col[i] + table[i];\n\t}\n}","results":{"aborted":false,"count":75,"cycles":2,"hz":637.3545169037501,"stats":{"moe":0.000007622545676816873,"rme":0.48582639174243863,"sem":0.000003889053916743303,"deviation":0.00002637684698551886,"mean":0.0015689855072463772,"variance":6.957380568974753e-10,"numSamples":46},"times":{"cycle":0.1176739130434783,"elapsed":5.936,"period":0.0015689855072463772,"timeStamp":1611677282847}},"platforms":{"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.0.2 Safari/605.1.15":{"aborted":false,"count":148,"cycles":5,"hz":1820.4881798962142,"stats":{"moe":0.0000047621458