This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var data = [1, 4, 5, 6, 7, 8]; | |
//var data = [2, 3, 5, 7, 11, 13, 17]; | |
//var data = [2, 3, 5, 10, 20]; | |
var a = []; | |
var r = function(u) { | |
if(a.length == data.length - 1) { | |
if(u) return solve(); | |
else return false; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html><head><title>WebAssembly: JavaScript binding profiling</title> | |
<script> | |
onload = function() { | |
var textarea = document.getElementById("textarea"); | |
var log = function(message) { | |
var now = performance.now(); | |
textarea.value += (now - time).toFixed(3) + ": " + message + "\n"; | |
time = performance.now(); | |
}; | |
var time = performance.now(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ["cigar","rebut","sissy","humph","awake","blush","focal","evade","naval","serve","heath","dwarf","model","karma","stink","grade","quiet","bench","abate","feign","major","death","fresh","crust","stool","colon","abase","marry","react","batty","pride","floss","helix","croak","staff","paper","unfed","whelp","trawl","outdo","adobe","crazy","sower","repay","digit","crate","cluck","spike","mimic","pound","maxim","linen","unmet","flesh","booby","forth","first","stand","belly","ivory","seedy","print","yearn","drain","bribe","stout","panel","crass","flume","offal","agree","error","swirl","argue","bleed","delta","flick","totem","wooer","front","shrub","parry","biome","lapel","start","greet","goner","golem","lusty","loopy","round","audit","lying","gamma","labor","islet","civic","forge","corny","moult","basic","salad","agate","spicy","spray","essay","fjord","spend","kebab","guild","aback","motor","alone","hatch","hyper","thumb","dowry","ought","belch","dutch","pilot","tweed","comet","jaunt","enema","steed","abyss","gro |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
maxCount: 6, | |
maxWord: 'shave', | |
minCount: 2, | |
minWord: 'hello', | |
average: 3.798704103671706 | |
} | |
2 guesses: 80 | |
3 guesses: 706 | |
4 guesses: 1160 |
OlderNewer