{"id":344420,"date":"2023-01-24T15:04:04","date_gmt":"2023-01-24T15:04:04","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=344420"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=344420","title":{"rendered":"<span>Js, \u0442\u0440\u044e\u043a\u0438, \u043d\u0430\u0431\u043b\u044e\u0434\u0435\u043d\u0438\u044f, \u0431\u0435\u043d\u0447\u043c\u0430\u0440\u043a\u0438 \u0438 \u043a\u0430\u043a \u041b\u0438\u0441\u0430 \u0443\u043d\u0438\u0447\u0442\u043e\u0436\u0430\u0435\u0442 \u0425\u0440\u043e\u043c. \u042f \u043f\u0440\u043e\u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043b \u0432\u0441\u0451, \u0447\u0442\u043e \u0432\u0430\u043c \u0431\u044b\u043b\u043e \u043b\u0435\u043d\u044c<\/span>"},"content":{"rendered":"<div><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-1\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\"><a href=\"https:\/\/habr.com\/ru\/company\/ruvds\/blog\/712386\/\"><\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/webt\/ai\/z5\/gz\/aiz5gztttvvkegk_annvvgtumv8.png\" data-src=\"https:\/\/habrastorage.org\/webt\/ai\/z5\/gz\/aiz5gztttvvkegk_annvvgtumv8.png\"\/><\/div>\n<p><\/a><i><font color=\"#999999\">\u041a\u0430\u0440\u0442\u0438\u043d\u043a\u0430, \u043a\u043e\u043d\u0435\u0447\u043d\u043e, \u0441\u0442\u0440\u043e\u043d\u0433\u043b\u0438 \u0430\u043d\u0440\u0438\u043b\u0435\u0439\u0442\u0435\u0434<\/font><\/i><\/p>\n<p>  \u0420\u0430\u0437\u043d\u044b\u0435 \u0442\u0440\u044e\u043a\u0438 \u044f \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043b \u043d\u0430 Google Chrome 107.0.5304.107 \u0438 Mozilla Firefox 107.0 \u043d\u0430 Windows 10.<\/p>\n<p>  \u0427\u0442\u043e\u0431\u044b \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b \u0432\u0441\u0435\u0433\u0434\u0430 \u0431\u044b\u043b\u0438 \u0436\u0435\u043b\u0435\u0437\u043d\u043e \u0432\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u043c\u044b\u043c\u0438, \u044f \u043e\u0442\u043a\u043b\u044e\u0447\u0438\u043b \u0432\u0441\u0435 \u0421-State\u2019\u044b, \u044f\u0434\u0440\u0430 \u0437\u0430\u0444\u0438\u043a\u0441\u0438\u0440\u043e\u0432\u0430\u043b \u043d\u0430 5 \u0413\u0413\u0446.<\/p>\n<p>  \u0423 \u043c\u0435\u043d\u044f 9900\u041a, \u044d\u0442\u043e Coffee Lake c AVX256, \u043a\u0430\u043a\u0438\u0435 \u043e\u043f\u0442\u0438\u043c\u0438\u0437\u0430\u0446\u0438\u0438 \u043f\u0440\u0438\u043c\u0435\u043d\u0438\u0442 Jit \u0434\u043b\u044f \u0432\u0430\u0448\u0435\u0433\u043e \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0440\u0430 \u2014 \u044f \u043d\u0435 \u0437\u043d\u0430\u044e, \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u043d\u0430 \u0432\u0430\u0448\u0435\u043c \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440\u0435 \u043c\u043e\u0436\u0435\u0442 \u043e\u0442\u043b\u0438\u0447\u0430\u0442\u044c\u0441\u044f \u043e\u0442 \u043c\u043e\u0435\u0433\u043e, \u0432 \u0442.\u0447. \u0438\u0437-\u0437\u0430 \u043c\u0438\u043a\u0440\u043e\u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u044b \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0440\u0430.<\/p>\n<p>  \u0421\u043a\u043e\u0440\u043e\u0441\u0442\u044c \u043f\u0430\u0440\u0441\u0438\u043d\u0433\u0430 \u043a\u043e\u0434\u0430 \u0442\u043e\u0436\u0435 \u0432\u0445\u043e\u0434\u0438\u0442 \u0432 \u0431\u0435\u043d\u0447\u043c\u0430\u0440\u043a, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0431\u0440\u0430\u0443\u0437\u0435\u0440 \u0441 \u0431\u044b\u0441\u0442\u0440\u044b\u043c \u043f\u0430\u0440\u0441\u0435\u0440\u043e\u043c \u0431\u0443\u0434\u0435\u0442 \u0432\u043f\u0435\u0440\u0435\u0434\u0438.<br \/>  <a name=\"habracut\"><\/a>  <\/p>\n<h2><font color=\"#3AC1EF\">\u0415\u0441\u0442\u044c \u043b\u0438 \u0443 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439 \u043e\u0432\u0435\u0440\u0445\u0435\u0434?<\/font><\/h2>\n<p>  \u0415\u0441\u0442\u044c \u043b\u0438 \u0441\u043c\u044b\u0441\u043b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0442\u043e\u043b\u044c\u043a\u043e dot notation? \u041a\u0430\u043a\u043e\u0432\u0430 \u0446\u0435\u043d\u0430 \u0432\u044b\u043d\u043e\u0441\u0430 \u043b\u0438\u0448\u043d\u0435\u0439 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439?<\/p>\n<pre><code class=\"javascript\">var array = new Array(65535).fill()  \/\/ 3 var a = array.map((x) => x) var b = array.map((x) => x) var c = array.map((x) => x)  \/\/ 2 var a = array.map((x) => x) var b = array.map((x) => x).map((x) => x)  \/\/ 1 var a = array.map((x) => x).map((x) => x).map((x) => x)<\/code><\/pre>\n<p>  \u0427\u0442\u043e\u0431\u044b \u0443\u0437\u043d\u0430\u0442\u044c, \u0433\u043e\u043d\u044f\u0442 \u043b\u0438 \u0431\u0440\u0430\u0443\u0437\u0435\u0440 \u043f\u0430\u043c\u044f\u0442\u044c \u0442\u0443\u0434\u0430-\u0441\u044e\u0434\u0430, \u0434\u0435\u043b\u0430\u0435\u043c \u043c\u044b <code>.map<\/code> \u043d\u0430 \u043c\u0430\u0441\u0441\u0438\u0432 \u0434\u043b\u0438\u043d\u043e\u0439 65535 \u0441 \u043d\u0443\u043b\u044f\u043c\u0438 \u0432\u043d\u0443\u0442\u0440\u0438. <a href=\"https:\/\/www.measurethat.net\/Benchmarks\/Show\/22097\/0\/1-var-vs-2-vars-vs-3-vars\">\u041b\u0438\u043d\u043a<\/a>.<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/webt\/jw\/ux\/as\/jwuxasvbrmoo8bd08xz23xqzbmk.jpeg\" data-src=\"https:\/\/habrastorage.org\/webt\/jw\/ux\/as\/jwuxasvbrmoo8bd08xz23xqzbmk.jpeg\" data-blurred=\"true\"\/><\/div>\n<p>  \u0425\u0440\u043e\u043c \u043d\u0435 \u0437\u0430\u043c\u0435\u0442\u0438\u043b \u0440\u0430\u0437\u043d\u0438\u0446\u044b, \u0430 \u0432\u043e\u0442 \u043b\u0438\u0441\u0430 \u0437\u0430\u043c\u0435\u0442\u0438\u043b\u0430. \u041f\u0440\u0438\u043c\u0435\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u043a \u043b\u0438\u0441\u0435, \u0443 \u043b\u0438\u0448\u043d\u0435\u0439 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439 \u0435\u0441\u0442\u044c \u0438\u0437\u043c\u0435\u0440\u044f\u0435\u043c\u044b\u0439 \u043e\u0432\u0435\u0440\u0445\u0435\u0434.<\/p>\n<h2><font color=\"#3AC1EF\">\u0415\u0441\u0442\u044c \u043b\u0438 \u0440\u0430\u0437\u043d\u0438\u0446\u0430 \u043c\u0435\u0436\u0434\u0443 var, let, const \u0438\u043b\u0438 \u0438\u0445 \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0438\u0435\u043c?<\/font><\/h2>\n<p>  <\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/webt\/98\/bq\/py\/98bqpyb07ylqtmillpqva2ol6d8.jpeg\" data-src=\"https:\/\/habrastorage.org\/webt\/98\/bq\/py\/98bqpyb07ylqtmillpqva2ol6d8.jpeg\" data-blurred=\"true\"\/><\/div>\n<p>  \u041f\u0440\u043e\u0432\u0435\u0440\u0438\u043c. \u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f \u0440\u0430\u0437\u043d\u044b\u0435 \u0431\u0438\u043d\u0434\u0438\u043d\u0433\u0438 \u2014 \u0441\u043e\u0437\u0434\u0430\u0434\u0438\u043c POJO \u0441 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439 <code>\u0435<\/code>. \u041f\u043e\u0442\u043e\u043c \u0434\u043e\u0431\u0430\u0432\u0438\u043c \u0435\u043c\u0443 \u0444\u0443\u043d\u043a\u0446\u0438\u044e <code>\u043e<\/code> \u0438 \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u043c \u044d\u0442\u0443 \u0444\u0443\u043d\u043a\u0446\u0438\u044e. \u0411\u0435\u043d\u0447\u043c\u0430\u0440\u043a \u043f\u0440\u043e\u0441\u0442\u043e\u0439, \u043d\u043e \u0434\u0432\u0438\u0436\u0443\u0449\u0438\u0445\u0441\u044f \u0447\u0430\u0441\u0442\u0435\u0439 \u043c\u043d\u043e\u0433\u043e. <a href=\"https:\/\/www.measurethat.net\/Benchmarks\/Show\/22083\/0\/const-vs-let-vs-var-vs-sloppy\">\u041b\u0438\u043d\u043a<\/a>.<\/p>\n<pre><code class=\"javascript\">var g = { e: [] } g.o = function(x) { g.e.push(...[1,2,3]) } g.o()<\/code><\/pre>\n<p>  \u041a\u043e\u0434 \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0442\u0430\u043a, \u043e\u0442\u043b\u0438\u0447\u0430\u044e\u0442\u0441\u044f \u0442\u043e\u043b\u044c\u043a\u043e \u0431\u0438\u043d\u0434\u0438\u043d\u0433\u0438.<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/webt\/ll\/t8\/wc\/llt8wc8317gsft-b-3hzsquks-u.jpeg\" data-src=\"https:\/\/habrastorage.org\/webt\/ll\/t8\/wc\/llt8wc8317gsft-b-3hzsquks-u.jpeg\" data-blurred=\"true\"\/><\/div>\n<p>  \u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u043d\u0435\u043e\u0436\u0438\u0434\u0430\u043d\u043d\u044b\u0439, \u043d\u043e \u0436\u0435\u043b\u0435\u0437\u043d\u043e \u0432\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u043c\u044b\u0439. <code>var<\/code>, \u0431\u044b\u0441\u0442\u0440\u0435\u0435.<\/p>\n<h2><font color=\"#3AC1EF\">Bounce pattern, Switch case, \u0434\u043b\u0438\u043d\u043d\u0430\u044f \u0442\u0435\u0440\u043d\u0430\u0440\u043a\u0430<\/font><\/h2>\n<p>  \u0415\u0441\u043b\u0438 \u043e\u0431\u0435 \u043a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0438 \u043b\u043e\u0433\u0438\u0447\u0435\u0441\u043a\u0438 \u043e\u0434\u0438\u043d\u0430\u043a\u043e\u0432\u044b\u0435, \u043e\u043d\u0438 \u0434\u043e\u043b\u0436\u043d\u044b \u0441\u0442\u0440\u043e\u0438\u0442\u044c \u043e\u0434\u043d\u043e \u0438 \u0442\u043e \u0436\u0435 \u0441\u0438\u043d\u0442\u0430\u043a\u0441\u0438\u0447\u0435\u0441\u043a\u043e\u0435 \u0434\u0435\u0440\u0435\u0432\u043e, \u0432\u0435\u0440\u043d\u043e? \u0414\u0430\u0432\u0430\u0439\u0442\u0435 \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u043c.<\/p>\n<pre><code class=\"javascript\">\/\/ switch case function thing(e) {     switch (e) {       case 0:         return \"0\";        case 1:         return \"1\";        case 2:         return \"2\";        case 3:         return \"3\";                default:         return \"\";     } }  \/\/ bounce pattern function bounce(x) {    if (x === 0) return \"0\";    if (x === 1) return \"1\";    if (x === 2) return \"2\";    if (x === 3) return \"3\";        return \"\" }  \/\/ ternary function bounce(x) {   return 0 === x ? \"0\" : 1 === x ? \"1\" : 2 === x ? \"2\" : 3 === x ? \"3\" : \"\"; }<\/code><\/pre>\n<p>  \u0412\u043e\u0442 \u0442\u0430\u043a \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u043a\u043e\u0434. \u0414\u043b\u044f \u0432\u0441\u0435\u0445 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u043e\u0432 \u043e\u043d \u043e\u0434\u0438\u043d\u0430\u043a\u043e\u0432, \u043e\u0442\u043b\u0438\u0447\u0430\u044e\u0442\u0441\u044f \u0442\u043e\u043b\u044c\u043a\u043e \u0432\u044b\u0437\u043e\u0432\u044b.<\/p>\n<h3><font color=\"#3AC1EF\">\u258d 1. \u0412\u044b\u0437\u043e\u0432 \u0432 \u0446\u0438\u043a\u043b\u0435<\/font><\/h3>\n<p>  <\/p>\n<pre><code class=\"javascript\">for (let t = 0; 1e5 > t; t++) bounce(0), bounce(2), bounce(6);<\/code><\/pre>\n<p>  \u0412\u044b\u0437\u043e\u0432 \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0442\u0430\u043a. <a href=\"https:\/\/www.measurethat.net\/Benchmarks\/Show\/22099\/0\/no-type-coercion-switch-case-vs-bounce-pattern-vs-terna\">\u041b\u0438\u043d\u043a<\/a>.<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/webt\/5z\/c4\/an\/5zc4anssaguhuexso36fsymxo1w.jpeg\" data-src=\"https:\/\/habrastorage.org\/webt\/5z\/c4\/an\/5zc4anssaguhuexso36fsymxo1w.jpeg\" data-blurred=\"true\"\/><\/div>\n<p>  <\/p>\n<h3><font color=\"#3AC1EF\">\u258d 2. \u0412 \u0446\u0438\u043a\u043b\u0435 \u0441 \u0434\u0440\u0443\u0433\u0438\u043c \u0442\u0438\u043f\u043e\u043c<\/font><\/h3>\n<p>  <\/p>\n<pre><code class=\"javascript\">for (let t = 0; 1e5 > t; t++) bounce(\"0\"), bounce(\"2\"), bounce(\"\");<\/code><\/pre>\n<p>  \u0422\u0443\u0442 \u043c\u044b \u043f\u043e\u043a\u0438\u0434\u044b\u0432\u0430\u0435\u043c \u0441\u0442\u0440\u043e\u043a\u0443 \u0432\u043c\u0435\u0441\u0442\u043e \u0447\u0438\u0441\u043b\u0430. \u0412 \u0441\u0432\u0438\u0442\u0447\u0435 \u0438 <code>if<\/code> \u0431\u043b\u043e\u043a\u0430\u0445 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0441\u0442\u0440\u043e\u0433\u043e\u0435 \u0440\u0430\u0432\u0435\u043d\u0441\u0442\u0432\u043e, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0441\u0432\u0438\u0442\u0447 \u0432\u044b\u0445\u043e\u0434\u0438\u0442 \u0442\u043e\u043b\u044c\u043a\u043e \u0447\u0435\u0440\u0435\u0437 <code>default<\/code>, \u0430 <code>if<\/code>\u2019\u044b \u0432\u044b\u0445\u043e\u0434\u044f\u0442 \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0439 <code>return<\/code>. <a href=\"https:\/\/www.measurethat.net\/Benchmarks\/Show\/22098\/0\/type-coercion-switch-case-vs-bounce-pattern-vs-ternary\">\u041b\u0438\u043d\u043a<\/a>.<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/webt\/ce\/a5\/mo\/cea5mooydemdi4kzpf2v8wtphjs.jpeg\" data-src=\"https:\/\/habrastorage.org\/webt\/ce\/a5\/mo\/cea5mooydemdi4kzpf2v8wtphjs.jpeg\" data-blurred=\"true\"\/><\/div>\n<p>  <\/p>\n<h3><font color=\"#3AC1EF\">\u258d 3. \u0411\u0435\u0437 \u0446\u0438\u043a\u043b\u0430<\/font><\/h3>\n<p>  <\/p>\n<pre><code class=\"javascript\">bounce(0), bounce(2), bounce(6)<\/code><\/pre>\n<p>  \u041f\u0440\u043e\u0441\u0442\u043e \u0442\u0440\u0438 \u0432\u044b\u0437\u043e\u0432\u0430 \u043f\u043e\u0434\u0440\u044f\u0434, \u043d\u0438\u043a\u0430\u043a\u0438\u0445 \u0446\u0438\u043a\u043b\u043e\u0432. <a href=\"https:\/\/www.measurethat.net\/Benchmarks\/Show\/22100\/0\/no-loop-switch-case-vs-bounce-pattern-vs-ternary\">\u041b\u0438\u043d\u043a<\/a>.<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/webt\/8-\/i5\/p4\/8-i5p4n-v3fvcckb41o7aue2a-m.jpeg\" data-src=\"https:\/\/habrastorage.org\/webt\/8-\/i5\/p4\/8-i5p4n-v3fvcckb41o7aue2a-m.jpeg\" data-blurred=\"true\"\/><\/div>\n<p>  \u041f\u043e\u0445\u043e\u0436\u0435, \u0447\u0442\u043e \u043f\u043e\u0441\u043b\u0435 \u043f\u0435\u0440\u0432\u043e\u043d\u0430\u0447\u0430\u043b\u044c\u043d\u043e\u0439 \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u0438 \u043b\u0438\u0441\u0430 \u043d\u0435 \u043f\u044b\u0442\u0430\u0435\u0442\u0441\u044f \u0434\u0430\u043b\u044c\u0448\u0435 \u043e\u043f\u0442\u0438\u043c\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0446\u0438\u043a\u043b, \u043a\u0430\u043a \u044d\u0442\u043e \u0434\u0435\u043b\u0430\u0435\u0442 \u0445\u0440\u043e\u043c.<\/p>\n<p>  \u0422\u0430\u043a\u0436\u0435 \u043b\u0438\u0441\u0430, \u043f\u043e\u0445\u043e\u0436\u0435, \u043d\u0435 \u0441\u0442\u0440\u043e\u0438\u0442 \u043e\u0434\u043d\u043e \u0438 \u0442\u043e \u0436\u0435 AST, \u043a\u0430\u043a \u044d\u0442\u043e \u0434\u0435\u043b\u0430\u0435\u0442 \u0445\u0440\u043e\u043c. \u0420\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0443\u044e \u0437\u0430\u043c\u0435\u043d\u0438\u0442\u044c \u0432\u0430\u0448\u0438 \u0434\u043b\u0438\u043d\u043d\u044b\u0435 <code>if<\/code>\u2019\u044b \u0438 bounce \u043f\u0430\u0442\u0442\u0435\u0440\u043d\u044b \u043d\u0430 \u0441\u0432\u0438\u0442\u0447\u0438, \u0447\u0442\u043e\u0431\u044b \u0438\u0437\u0431\u0435\u0436\u0430\u0442\u044c \u043b\u0438\u0441\u0438\u043d\u044b\u0445 \u0442\u043e\u0440\u043c\u043e\u0437\u043e\u0432.<\/p>\n<h2><font color=\"#3AC1EF\">\u0418\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f \u043c\u0430\u0441\u0441\u0438\u0432\u0430<\/font><\/h2>\n<p>  \u0414\u043b\u044f \u043f\u0440\u0438\u043c\u0435\u0440\u0430 \u0432\u043e\u0437\u044c\u043c\u0443 \u0438\u0437 \u043f\u0430\u0442\u0442\u0435\u0440\u043d\u043e\u0432 \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f, \u043a\u043e\u0433\u0434\u0430 \u0442\u044b \u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0438\u0440\u0443\u0435\u0448\u044c \u043c\u0430\u0441\u0441\u0438\u0432, \u043f\u0440\u043e\u043a\u0438\u0434\u044b\u0432\u0430\u044f \u043b\u044f\u043c\u0431\u0434\u0443 \u0432 \u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0430\u0442\u043e\u0440. \u041f\u0440\u043e\u0441\u0442\u043e \u0440\u0430\u0434\u0438 \u043f\u0440\u0438\u043c\u0435\u0440\u0430, \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u044d\u0442\u043e\u0439 \u043b\u044f\u043c\u0431\u0434\u044b \u0431\u0443\u0434\u0435\u0442 fizzbuzz.<\/p>\n<pre><code class=\"javascript\">var times = 65535;  function initializer(val, z) {     const i = z % 5 | 0;     return 0 == (z % 3 | 0) ? 0 === i ? \"fizzbuzz\" : \"fizz\" : 0 === i ? \"buzz\" : z; }  \/\/ for i var b = new Array(times); for (var i = 0; i &lt; times; i++) {     b[i] = initializer(b[i], i) } b  \/\/ for push var c = []; for (var i = 0; i &lt; times; i++) {     c.push(initializer(c[i], i)) } c  \/\/ Fill Map new Array(times).fill().map(initializer) <\/code><\/pre>\n<p>  \u042d\u0442\u043e \u043d\u0435 \u0441\u0430\u043c\u044b\u0439 \u043a\u0440\u0430\u0441\u0438\u0432\u044b\u0439 fizzbuzz, \u043d\u043e \u044d\u0442\u043e \u043c\u043e\u0439 fizzbuzz. <a href=\"https:\/\/www.measurethat.net\/Benchmarks\/Show\/22086\/0\/array-initialization-for-for-push-fill-map\">\u041b\u0438\u043d\u043a \u043d\u0430 \u0431\u0435\u043d\u0447<\/a>.<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/webt\/2u\/ms\/at\/2umsat5-a9manougryyx3iohjhq.jpeg\" data-src=\"https:\/\/habrastorage.org\/webt\/2u\/ms\/at\/2umsat5-a9manougryyx3iohjhq.jpeg\" data-blurred=\"true\"\/><\/div>\n<p>  \u0412\u0430\u0440\u0438\u0430\u043d\u0442 \u0441 <code>fill map<\/code> \u0441\u043e\u0437\u0434\u0430\u0451\u0442 \u0434\u0432\u0430 \u043c\u0430\u0441\u0441\u0438\u0432\u0430, \u0441\u043d\u0430\u0447\u0430\u043b\u0430 \u043f\u0440\u0438 \u0432\u044b\u0437\u043e\u0432\u0435 \u043a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0442\u043e\u0440\u0430, \u043f\u043e\u0442\u043e\u043c \u043f\u0440\u0438 \u0432\u044b\u0437\u043e\u0432\u0435 map. \u041d\u043e \u0442\u0430\u043a\u043e\u0439 \u0432\u0430\u0440\u0438\u0430\u043d\u0442 \u0431\u0435\u0437\u0430\u043b\u044c\u0442\u0435\u0440\u043d\u0430\u0442\u0438\u0432\u043d\u043e \u0431\u044b\u0441\u0442\u0440\u0435\u0435 \u043d\u0430 \u0445\u0440\u043e\u043c\u0435.<\/p>\n<h2><font color=\"#3AC1EF\">\u041a\u043e\u043d\u043a\u0430\u0442\u0435\u043d\u0430\u0446\u0438\u044f \u043c\u0430\u0441\u0441\u0438\u0432\u043e\u0432<\/font><\/h2>\n<p>  <\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/webt\/8k\/uq\/b0\/8kuqb0dhvsvodnu0djtqvmn_aoe.jpeg\" data-src=\"https:\/\/habrastorage.org\/webt\/8k\/uq\/b0\/8kuqb0dhvsvodnu0djtqvmn_aoe.jpeg\" data-blurred=\"true\"\/><\/div>\n<p>  <\/p>\n<pre><code class=\"javascript\">\/\/ reduce arr.reduce((acc, val) => acc.concat(val), [])  \/\/ flatMap arr.flatMap(x => x)  \/\/ flat arr.flat()  \/\/ reduce push arr.reduce((acc, val) => {     if (val) val.forEach(a => acc.push(a));     return acc; }, [])  \/\/ forEach push let acc = [];  arr.forEach(val => {     val &amp;&amp; val.forEach(v => acc.push(v)); }), acc;  \/\/concat spread [].concat(...arr) <\/code><\/pre>\n<p>  \u041a\u043e\u043d\u043a\u0430\u0442\u0435\u043d\u0430\u0446\u0438\u044f \u043c\u0430\u0441\u0441\u0438\u0432\u043e\u0432 \u043d\u0430 1 \u0443\u0440\u043e\u0432\u0435\u043d\u044c, \u043f\u043e\u0432\u0435\u0434\u0435\u043d\u0438\u0435 \u0438\u0434\u0435\u043d\u0442\u0438\u0447\u043d\u043e\u0435 <code>flat(1)<\/code>. <a href=\"https:\/\/www.measurethat.net\/Benchmarks\/Show\/22085\/0\/flat-vs-flatmap-vs-reduce-vs-reduce-push-vs-foreach-pus\">\u041b\u0438\u043d\u043a<\/a>.<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/webt\/ey\/_-\/hs\/ey_-hsu2gbykaalxdwgvpg_itr0.jpeg\" data-src=\"https:\/\/habrastorage.org\/webt\/ey\/_-\/hs\/ey_-hsu2gbykaalxdwgvpg_itr0.jpeg\" data-blurred=\"true\"\/><\/div>\n<p>  \u0418\u043d\u043e\u0433\u0434\u0430 \u044f \u043d\u0435 \u043f\u043e\u043d\u0438\u043c\u0430\u044e, \u043f\u043e\u0447\u0435\u043c\u0443 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0438 \u0434\u0432\u0438\u0436\u043a\u043e\u0432 \u043e\u0441\u0442\u0430\u0432\u0438\u043b\u0438 \u0442\u0430\u043a\u043e\u0439 \u043f\u043e\u0442\u0435\u043d\u0446\u0438\u0430\u043b \u0434\u043b\u044f \u043e\u043f\u0442\u0438\u043c\u0438\u0437\u0430\u0446\u0438\u0438.<\/p>\n<h2><font color=\"#3AC1EF\">\u0423\u043d\u0438\u0447\u0442\u043e\u0436\u0435\u043d\u0438\u0435 \u0445\u0440\u043e\u043c\u0430<\/font><\/h2>\n<p>  \u0411\u0435\u043d\u0447\u043c\u0430\u0440\u043a\u0438 \u043d\u0438\u0436\u0435 \u044f \u043f\u0435\u0440\u0435\u043f\u0440\u043e\u0432\u0435\u0440\u044f\u043b \u043f\u043e \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0443 \u0440\u0430\u0437, \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u043e\u0434\u0438\u043d\u0430\u043a\u043e\u0432\u044b\u0439 \u0438 \u0432\u0435\u0440\u043d\u044b\u0439. \u041b\u0438\u0441\u0430 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0442\u0430\u043a\u0430\u044f \u0431\u044b\u0441\u0442\u0440\u0430\u044f.<\/p>\n<h3><font color=\"#3AC1EF\">\u258d \u0418\u0442\u0435\u0440\u0430\u0446\u0438\u044f \u043f\u043e \u043c\u0430\u0441\u0441\u0438\u0432\u0443<\/font><\/h3>\n<p>  \u0421\u0440\u0430\u0432\u043d\u0438\u0432\u0430\u0442\u044c \u0431\u0443\u0434\u0435\u043c <code>Array.prototype.forEach vs for...of vs for<\/code>. \u041d\u0430 \u043a\u043e\u0434 \u0441\u043c\u043e\u0442\u0440\u0438\u0442\u0435 <a href=\"https:\/\/www.measurethat.net\/Benchmarks\/Show\/22095\/0\/side-effect-for-i-vs-for-of-vs-foreach-fix\">\u043f\u043e \u043b\u0438\u043d\u043a\u0443<\/a>.<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/webt\/po\/ue\/fz\/pouefzncq6xggwoxqyfnoy38wng.jpeg\" data-src=\"https:\/\/habrastorage.org\/webt\/po\/ue\/fz\/pouefzncq6xggwoxqyfnoy38wng.jpeg\" data-blurred=\"true\"\/><\/div>\n<p>  \u0420\u0430\u0434\u0438 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438, \u0446\u0438\u043a\u043b\u044b <code>for<\/code>, \u043b\u0443\u0447\u0448\u0435 \u043f\u0435\u0440\u0435\u0434\u0435\u043b\u0430\u0442\u044c \u0432 <code>forEach<\/code>, \u0447\u0442\u043e\u0431\u044b \u0445\u0440\u043e\u043c \u043d\u0435 \u043e\u0442\u0441\u0442\u0430\u0432\u0430\u043b.<\/p>\n<h3><font color=\"#3AC1EF\">\u258d \u0421\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u043b\u0438 \u0441\u0442\u0440\u043e\u043a\u0430 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435<\/font><\/h3>\n<p>  <\/p>\n<pre><code class=\"javascript\">\/\/ text.includes() url.includes('matchthis')  \/\/ text.test() \/matchthis\/.test(url)  \/\/ text.match() url.match(\/matchthis\/).length >= 0  \/\/ text.indexOf() url.indexOf('matchthis') >= 0  \/\/ text.search() url.search('matchthis') >= 0 <\/code><\/pre>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/webt\/4f\/2l\/4-\/4f2l4-2wfg-pabfjrpgom4yx_ny.jpeg\" data-src=\"https:\/\/habrastorage.org\/webt\/4f\/2l\/4-\/4f2l4-2wfg-pabfjrpgom4yx_ny.jpeg\" data-blurred=\"true\"\/><\/div>\n<p>  \u0422\u0440\u044e\u043a \u0441 <code>IndexOf<\/code> \u0431\u044b\u0441\u0442\u0440\u0435\u0435 \u0438 \u043d\u0430 \u043b\u0438\u0441\u0435, \u0438 \u043d\u0430 \u0445\u0440\u043e\u043c\u0435. \u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 \u0442\u0440\u044e\u043a \u0441 <code>IndexOf<\/code>. <a href=\"https:\/\/www.measurethat.net\/Benchmarks\/Show\/22090\/0\/includes-vs-test-vs-match-vs-indexof-vs-search-fix\">\u041b\u0438\u043d\u043a \u043d\u0430 \u0431\u0435\u043d\u0447\u043c\u0430\u0440\u043a<\/a>.<\/p>\n<h2><font color=\"#3AC1EF\">\u041f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u0441\u0442\u0440\u043e\u043a\u0438 \u0432 \u0447\u0438\u0441\u043b\u043e<\/font><\/h2>\n<p>  \u0422\u0435\u0441\u0442\u0438\u0440\u0443\u0435\u043c \u043d\u0435\u044f\u0432\u043d\u043e\u0435 \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u043d\u0438\u0435, \u043f\u0430\u0440\u0441\u0438\u043d\u0433 \u0438 \u0432\u044b\u0437\u043e\u0432 \u043a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0442\u043e\u0440\u0430.<\/p>\n<pre><code class=\"javascript\">\/\/ implicit var imp = + strNum  \/\/ parseFloat var toStr = parseFloat(strNum)  \/\/Number var num = Number(strNum) <\/code><\/pre>\n<p>  <\/p>\n<h3><font color=\"#3AC1EF\">\u258d Int<\/font><\/h3>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/webt\/8b\/0g\/rb\/8b0grbqwue2slct2x4gc95sy4nc.jpeg\" data-src=\"https:\/\/habrastorage.org\/webt\/8b\/0g\/rb\/8b0grbqwue2slct2x4gc95sy4nc.jpeg\" data-blurred=\"true\"\/><\/div>\n<p>  <a href=\"https:\/\/www.measurethat.net\/Benchmarks\/Show\/21897\/0\/implicit-vs-parseint-vs-number-string-to-num\">\u041b\u0438\u043d\u043a \u043d\u0430 \u0431\u0435\u043d\u0447<\/a>.<\/p>\n<h3><font color=\"#3AC1EF\">\u258d Float<\/font><\/h3>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/webt\/8b\/0g\/rb\/8b0grbqwue2slct2x4gc95sy4nc.jpeg\" data-src=\"https:\/\/habrastorage.org\/webt\/8b\/0g\/rb\/8b0grbqwue2slct2x4gc95sy4nc.jpeg\" data-blurred=\"true\"\/><\/div>\n<p>  \u042f \u043f\u0435\u0440\u0435\u043f\u0440\u043e\u0432\u0435\u0440\u044f\u043b, \u044d\u0442\u043e \u043d\u0435 \u043e\u0448\u0438\u0431\u043a\u0430. \u041d\u0435\u044f\u0432\u043d\u044b\u0439 \u043a\u0430\u0441\u0442 \u0441\u0442\u0440\u0438\u043d\u0433\u0438 \u0432 \u0438\u043d\u0442 \u043f\u0440\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u0431\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u044b\u0439 \u0443 \u043b\u0438\u0441\u044b. <a href=\"https:\/\/www.measurethat.net\/Benchmarks\/Show\/22092\/0\/implicit-vs-parsefloat-vs-number-string-to-num\">\u041b\u0438\u043d\u043a \u043d\u0430 \u0431\u0435\u043d\u0447<\/a>.<\/p>\n<h2><font color=\"#3AC1EF\">\u0412\u044b\u0432\u043e\u0434\u044b<\/font><\/h2>\n<p>  <\/p>\n<ol>\n<li>\u041b\u0438\u0441\u0438\u0447\u043a\u0430 \u043f\u043e\u0445\u043e\u0440\u043e\u0448\u0435\u043b\u0430.<\/li>\n<li>JS \u0441\u0434\u0435\u043b\u0430\u043d \u0437\u0430 \u043d\u0435\u0434\u0435\u043b\u044e \u043d\u0430 \u043a\u043e\u043b\u0435\u043d\u043a\u0435.<\/li>\n<li>\u042f \u043d\u0435 \u043f\u0438\u0448\u0443 \u043d\u0430 JS.<\/li>\n<li>\u0412\u044b \u0442\u043e\u0436\u0435 \u043f\u0440\u0435\u043a\u0440\u0430\u0449\u0430\u0439\u0442\u0435.<\/li>\n<\/ol>\n<p>  <\/p>\n<blockquote><p><b><font color=\"#3AC1EF\"><a href=\"https:\/\/t.me\/ruvds_community\/130\">\u0418\u0433\u0440\u0430\u0439 \u0432 \u043d\u0430\u0448\u0443 \u043d\u043e\u0432\u0443\u044e \u0438\u0433\u0440\u0443 \u043f\u0440\u044f\u043c\u043e \u0432 Telegram!<\/a><\/font><\/b><\/p><\/blockquote>\n<p><a href=\"http:\/\/ruvds.com\/ru-rub?utm_source=habr&amp;utm_medium=article&amp;utm_campaign=programmerguru&amp;utm_content=js_tryuki_nablyudeniya_benchmarki_i_kak_lisa_unichtozhaet_xrom_ya_protestiroval_vsyo_chto_vam_bylo_len\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/webt\/sz\/7j\/pf\/sz7jpfj8i1pa6ocj-eia09dev4q.png\" data-src=\"https:\/\/habrastorage.org\/webt\/sz\/7j\/pf\/sz7jpfj8i1pa6ocj-eia09dev4q.png\"\/><\/a><\/div>\n<\/div>\n<\/div>\n<p> <!----> <!----><\/div>\n<p> <!----> <!----><br \/> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/company\/ruvds\/blog\/712386\/\"> https:\/\/habr.com\/ru\/company\/ruvds\/blog\/712386\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-1\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\"><a href=\"https:\/\/habr.com\/ru\/company\/ruvds\/blog\/712386\/\"><\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/webt\/ai\/z5\/gz\/aiz5gztttvvkegk_annvvgtumv8.png\" data-src=\"https:\/\/habrastorage.org\/webt\/ai\/z5\/gz\/aiz5gztttvvkegk_annvvgtumv8.png\"\/><\/div>\n<p><\/a><i><font color=\"#999999\">\u041a\u0430\u0440\u0442\u0438\u043d\u043a\u0430, \u043a\u043e\u043d\u0435\u0447\u043d\u043e, \u0441\u0442\u0440\u043e\u043d\u0433\u043b\u0438 \u0430\u043d\u0440\u0438\u043b\u0435\u0439\u0442\u0435\u0434<\/font><\/i><\/p>\n<p>  \u0420\u0430\u0437\u043d\u044b\u0435 \u0442\u0440\u044e\u043a\u0438 \u044f \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043b \u043d\u0430 Google Chrome 107.0.5304.107 \u0438 Mozilla Firefox 107.0 \u043d\u0430 Windows 10.<\/p>\n<p>  \u0427\u0442\u043e\u0431\u044b \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b \u0432\u0441\u0435\u0433\u0434\u0430 \u0431\u044b\u043b\u0438 \u0436\u0435\u043b\u0435\u0437\u043d\u043e \u0432\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u043c\u044b\u043c\u0438, \u044f \u043e\u0442\u043a\u043b\u044e\u0447\u0438\u043b \u0432\u0441\u0435 \u0421-State\u2019\u044b, \u044f\u0434\u0440\u0430 \u0437\u0430\u0444\u0438\u043a\u0441\u0438\u0440\u043e\u0432\u0430\u043b \u043d\u0430 5 \u0413\u0413\u0446.<\/p>\n<p>  \u0423 \u043c\u0435\u043d\u044f 9900\u041a, \u044d\u0442\u043e Coffee Lake c AVX256, \u043a\u0430\u043a\u0438\u0435 \u043e\u043f\u0442\u0438\u043c\u0438\u0437\u0430\u0446\u0438\u0438 \u043f\u0440\u0438\u043c\u0435\u043d\u0438\u0442 Jit \u0434\u043b\u044f \u0432\u0430\u0448\u0435\u0433\u043e \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0440\u0430 \u2014 \u044f \u043d\u0435 \u0437\u043d\u0430\u044e, \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u043d\u0430 \u0432\u0430\u0448\u0435\u043c \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440\u0435 \u043c\u043e\u0436\u0435\u0442 \u043e\u0442\u043b\u0438\u0447\u0430\u0442\u044c\u0441\u044f \u043e\u0442 \u043c\u043e\u0435\u0433\u043e, \u0432 \u0442.\u0447. \u0438\u0437-\u0437\u0430 \u043c\u0438\u043a\u0440\u043e\u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u044b \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0440\u0430.<\/p>\n<p>  \u0421\u043a\u043e\u0440\u043e\u0441\u0442\u044c \u043f\u0430\u0440\u0441\u0438\u043d\u0433\u0430 \u043a\u043e\u0434\u0430 \u0442\u043e\u0436\u0435 \u0432\u0445\u043e\u0434\u0438\u0442 \u0432 \u0431\u0435\u043d\u0447\u043c\u0430\u0440\u043a, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0431\u0440\u0430\u0443\u0437\u0435\u0440 \u0441 \u0431\u044b\u0441\u0442\u0440\u044b\u043c \u043f\u0430\u0440\u0441\u0435\u0440\u043e\u043c \u0431\u0443\u0434\u0435\u0442 \u0432\u043f\u0435\u0440\u0435\u0434\u0438.  <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-344420","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/344420","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=344420"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/344420\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=344420"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=344420"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=344420"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}