Sample run on Ubuntu 22.04 LTS [i7-4900MQ CPU @ 2.80GHz/32GB] Chromium 105.0.5195.102
Solid (solid.html
)
Created 205760 nodes.
1 ms; sum: 4.55651722365801e+305
278 ms; sum: 9.11303444731602e+305
// https://leetcode.com/problems/roman-to-integer/submissions/ | |
/** | |
* @param {string} s | |
* @return {number} | |
*/ | |
var romanToInt = function(s) { | |
const map = new Map(); | |
map.set('I', 1); | |
map.set('V', 5); | |
map.set('X', 10); |
/** | |
* @param {string[]} strs | |
* @return {string} | |
*/ | |
var longestCommonPrefix = function(strs) { | |
const length = strs.length; | |
if (length == 0) { | |
return ''; | |
} else if (length == 1) { | |
return strs[0]; |
// https://leetcode.com/problems/merge-two-sorted-lists/submissions/ | |
/** | |
* Definition for singly-linked list. | |
* function ListNode(val, next) { | |
* this.val = (val===undefined ? 0 : val) | |
* this.next = (next===undefined ? null : next) | |
* } | |
*/ | |
/** | |
* @param {ListNode} list1 |
/** | |
* @param {number[]} nums | |
* @return {number} | |
*/ | |
var removeDuplicates = function(nums) { | |
const length = nums.length; | |
let i = 1; | |
let startIndex = 0; | |
let count = 0; | |
while(i < nums.length && nums[i] != undefined) { |
{ | |
'targets': [ | |
{ | |
'target_name': 'node-icu-tokenizer', | |
'sources': [ 'node-icu-tokenizer.cpp' ], | |
'cflags_cc': [ | |
'-std=c++17', | |
'-fexceptions', | |
'-Wall', | |
'-O3' |
# https://github.com/perjerz/node-icu-tokenizer | |
{ | |
'targets': [ | |
{ | |
'target_name': 'node-icu-tokenizer', | |
'sources': [ 'node-icu-tokenizer.cpp' ], | |
'cflags_cc': [ | |
'-std=c++17', | |
'-fexceptions', | |
'-Wall', |
GET _search | |
{ | |
"query": { | |
"match_all": {} | |
} | |
} | |
GET _cat/indices | |
GET dev-content |
<!doctype html> | |
<html> | |
<head> | |
<meta charset="utf8" /> | |
<title>Canvascolor</title> | |
<style> | |
body { | |
background-image:url(http://github.com/favicon.ico); /*Just for fun*/ | |
} | |
main { |
Sample run on Ubuntu 22.04 LTS [i7-4900MQ CPU @ 2.80GHz/32GB] Chromium 105.0.5195.102
solid.html
)Created 205760 nodes.
1 ms; sum: 4.55651722365801e+305
278 ms; sum: 9.11303444731602e+305
preactive.html
)