{"ScriptPreparationCode":"var strTxt = Array(100).fill(\u0022@\u0022.repeat(128)).join(\u0022 \u0022), len = 4, asize = Math.ceil(strTxt.length/len);","TestCases":[{"Name":"RegEx Match","Code":"var ar = strTxt.match(new RegExp(\u0027.{1,\u0027\u002Blen\u002B\u0027}\u0027,\u0027g\u0027));","IsDeferred":false},{"Name":"For Slice","Code":"var ar = Array(asize);\r\nfor(i=0,y=0;i\u003Casize;i\u002B\u002B,y=i*len){\r\n\tar[i] = strTxt.slice(y,y\u002Blen);\r\n}","IsDeferred":false},{"Name":"For SubStr","Code":"var ar = Array(asize);\r\nfor(i=0,y=0;i\u003Casize;i\u002B\u002B,y=i*len){\r\n\tar[i] = strTxt.substr(y,len);\r\n}","IsDeferred":false},{"Name":"While Slice","Code":"var ar = Array(asize),i = 0;\r\nwhile(i\u003Casize){\r\n\tar[i] = strTxt.slice(i*len,i*len\u002Blen);\r\n\ti\u002B\u002B;\t\r\n}","IsDeferred":false},{"Name":"While SubStr","Code":"var ar = Array(asize),i = 0;\r\nwhile(i\u003Casize){\r\n\tar[i] = strTxt.substr(i*len,len);\r\n\ti\u002B\u002B;\t\r\n}","IsDeferred":false},{"Name":"Generator SubStr","Code":"var ar = [...(function *(){for(i=0;i\u003Casize;i\u002B\u002B){yield strTxt.substr(i*len,len);}})()];","IsDeferred":false},{"Name":"Map SubStr","Code":"var ar = [...Array(asize)].map((v,i)=\u003E strTxt.substr(i*len,len));","IsDeferred":false}]}