{"id":324825,"date":"2021-06-12T15:00:21","date_gmt":"2021-06-12T15:00:21","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=324825"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=324825","title":{"rendered":"\u041e\u0448\u0438\u0431\u043a\u0443 Rockstar \u043c\u043e\u0436\u0435\u0442 \u0441\u043e\u0432\u0435\u0440\u0448\u0438\u0442\u044c \u043a\u0430\u0436\u0434\u044b\u0439 (\u0438 \u044f \u0442\u043e\u0436\u0435)"},"content":{"rendered":"\n<div class=\"post__text post__text-html post__text_v1\" id=\"post-content-body\">\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/ge\/h8\/b7\/geh8b7ilytqtvhufh3ntsz8oqyy.jpeg\"><\/div>\n<p>  \u041d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043c\u0435\u0441\u044f\u0446\u0435\u0432 \u043d\u0430\u0437\u0430\u0434 \u0432 \u043d\u043e\u0432\u043e\u0441\u0442\u044f\u0445 \u0432\u0441\u043f\u043b\u044b\u043b\u0430 <a href=\"https:\/\/nee.lv\/2021\/02\/28\/How-I-cut-GTA-Online-loading-times-by-70\/\">\u043f\u043e\u0442\u0440\u044f\u0441\u0430\u044e\u0449\u0430\u044f \u0441\u0442\u0430\u0442\u044c\u044f<\/a> [\u043f\u0435\u0440\u0435\u0432\u043e\u0434\u044b \u043d\u0430 \u0425\u0430\u0431\u0440\u0435: <a href=\"https:\/\/habr.com\/ru\/post\/544764\/\">\u043e\u0434\u0438\u043d<\/a> \u0438 <a href=\"https:\/\/habr.com\/ru\/company\/itsumma\/blog\/544830\/\">\u0432\u0442\u043e\u0440\u043e\u0439<\/a>] \u043e Grand Theft Auto Online.<\/p>\n<p>  \u0421\u043e\u0432\u0435\u0442\u0443\u044e \u043f\u0440\u043e\u0447\u0438\u0442\u0430\u0442\u044c \u0441\u0442\u0430\u0442\u044c\u044e \u0446\u0435\u043b\u0438\u043a\u043e\u043c, \u043d\u043e \u0435\u0441\u043b\u0438 \u0432\u043a\u0440\u0430\u0442\u0446\u0435, GTA Online \u0438\u043c\u0435\u043b\u0430 <a href=\"https:\/\/accidentallyquadratic.tumblr.com\/\">\u0432\u043d\u0435\u0437\u0430\u043f\u043d\u043e \u043a\u0432\u0430\u0434\u0440\u0430\u0442\u0438\u0447\u043d\u0443\u044e<\/a> \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c \u043f\u0440\u0438 \u043f\u0430\u0440\u0441\u0438\u043d\u0433\u0435 \u0431\u043e\u043b\u044c\u0448\u043e\u0433\u043e JSON-\u0431\u043b\u043e\u0431\u0430 (\u0438\u0437-\u0437\u0430 \u043c\u043d\u043e\u0433\u043e\u043a\u0440\u0430\u0442\u043d\u044b\u0445 \u0432\u044b\u0437\u043e\u0432\u043e\u0432 <code>strlen<\/code>); \u043f\u043e\u0441\u043b\u0435 \u0443\u0441\u0442\u0440\u0430\u043d\u0435\u043d\u0438\u044f \u044d\u0442\u043e\u0439 \u043e\u0448\u0438\u0431\u043a\u0438 \u0432\u0440\u0435\u043c\u044f \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u0443\u043c\u0435\u043d\u044c\u0448\u0438\u043b\u043e\u0441\u044c \u043f\u043e\u0447\u0442\u0438 \u043d\u0430 70%.<\/p>\n<p>  \u042d\u0442\u043e \u0432\u044b\u0437\u0432\u0430\u043b\u043e <a href=\"https:\/\/news.ycombinator.com\/item?id=26296339\">\u043e\u0436\u0438\u0432\u043b\u0451\u043d\u043d\u044b\u0435 \u0434\u0438\u0441\u043a\u0443\u0441\u0441\u0438\u0438<\/a>: \u0432 \u044d\u0442\u043e\u043c \u0432\u0438\u043d\u043e\u0432\u0430\u0442 C? \u0418\u043b\u0438, \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e, <a href=\"https:\/\/twitter.com\/Jonathan_Blow\/status\/1366452792563359744\">&quot;web shit&quot;<\/a>? \u0418\u043b\u0438 <a href=\"https:\/\/twitter.com\/fasterthanlime\/status\/1366187333507293184\">\u043a\u0430\u043f\u0438\u0442\u0430\u043b\u0438\u0437\u043c \u0438 \u0435\u0433\u043e \u0441\u0442\u0438\u043c\u0443\u043b\u044b<\/a>?<\/p>\n<p>  \u041e\u0434\u043d\u0430\u043a\u043e \u0432\u0441\u0435 \u0431\u044b\u043b\u0438 \u0441\u043e\u043b\u0438\u0434\u0430\u0440\u043d\u044b \u0432 \u043e\u0434\u043d\u043e\u043c: <em>\u043e\u043d\u0438<\/em> \u0431\u044b \u043d\u0438 \u0437\u0430 \u0447\u0442\u043e \u043d\u0435 \u043d\u0430\u043f\u0438\u0441\u0430\u043b\u0438 \u043f\u043e\u0434\u043e\u0431\u043d\u043e\u0439 \u0433\u043b\u0443\u043f\u043e\u0441\u0442\u0438.<\/p>\n<p>  (<em>\u0412\u044b \u0443\u0436\u0435 \u0447\u0443\u0432\u0441\u0442\u0432\u0443\u0435\u0442\u0435, \u0447\u0442\u043e \u043d\u0430\u0434\u0432\u0438\u0433\u0430\u0435\u0442\u0441\u044f?<\/em>)<a name=\"habracut\"><\/a>  <\/p>\n<hr>\n<p>  \u041e\u0434\u043d\u0438\u043c \u0438\u0437 \u043c\u043e\u0438\u0445 \u043f\u043e\u0431\u043e\u0447\u043d\u044b\u0445 \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0432 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0432\u044b\u0441\u043e\u043a\u043e\u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u0430\u044f \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430 \u0434\u043b\u044f \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u0430 3D-\u043c\u043e\u0434\u0435\u043b\u0435\u0439 \u043f\u043e\u0434 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435\u043c <a href=\"\/projects\/erizo\">Erizo<\/a>.<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/cl\/pm\/iq\/clpmiqt20ea0a7q9s1lgb5xb3fg.png\"><\/div>\n<p>  \u0411\u043b\u0430\u0433\u043e\u0434\u0430\u0440\u044f \u043f\u0440\u043e\u0434\u0443\u043c\u0430\u043d\u043d\u043e\u043c\u0443 \u043a\u043e\u0434\u0443 \u043e\u043d\u0430 \u043e\u0442\u043a\u0440\u044b\u0432\u0430\u0435\u0442 97-\u043c\u0435\u0433\u0430\u0431\u0430\u0439\u0442\u043d\u044b\u0439 \u0434\u0432\u043e\u0438\u0447\u043d\u044b\u0439 \u0444\u0430\u0439\u043b STL \u043d\u0430 Macbook Pro <em>2013 \u0433\u043e\u0434\u0430<\/em> \u0432\u0441\u0435\u0433\u043e \u0437\u0430 165 \u043c\u0438\u043b\u043b\u0438\u0441\u0435\u043a\u0443\u043d\u0434. \u042d\u0442\u043e <strong>\u043f\u043e\u0442\u0440\u044f\u0441\u0430\u044e\u0449\u0430\u044f<\/strong> \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u044c.<\/p>\n<p>  \u0418\u0437 \u0441\u043e\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0439 \u0441\u043e\u0432\u043c\u0435\u0441\u0442\u0438\u043c\u043e\u0441\u0442\u0438 \u044f \u043d\u0430\u043f\u0438\u0441\u0430\u043b \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u0439 \u043f\u0430\u0440\u0441\u0435\u0440 \u0438 \u0434\u043b\u044f <a href=\"https:\/\/en.wikipedia.org\/wiki\/STL_(file_format)#ASCII_STL\">ASCII STL<\/a>.<\/p>\n<p>  ASCII STL \u2014 \u044d\u0442\u043e \u0444\u043e\u0440\u043c\u0430\u0442 \u043e\u0431\u044b\u0447\u043d\u043e\u0433\u043e \u0442\u0435\u043a\u0441\u0442\u0430 \u0441 \u043f\u043b\u043e\u0445\u043e\u0439 \u0441\u043f\u0435\u0446\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u0435\u0439, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0432\u043e\u0442 \u0442\u0430\u043a:<\/p>\n<pre><code class=\"plaintext\">solid cube_corner           facet normal 0.0 -1.0 0.0             outer loop               vertex 0.0 0.0 0.0               vertex 1.0 0.0 0.0               vertex 0.0 0.0 1.0             endloop           endfacet           facet normal 0.0 0.0 -1.0             outer loop               vertex 0.0 0.0 0.0               vertex 0.0 1.0 0.0               vertex 1.0 0.0 0.0             endloop           endfacet           ... endsolid<\/code><\/pre>\n<p>  \u042f \u043d\u0430\u043f\u0438\u0441\u0430\u043b \u0447\u0440\u0435\u0437\u0432\u044b\u0447\u0430\u0439\u043d\u043e <a href=\"https:\/\/en.wikipedia.org\/wiki\/Robustness_principle\">\u043d\u0430\u0434\u0451\u0436\u043d\u044b\u0439<\/a> \u043f\u0430\u0440\u0441\u0435\u0440, \u0434\u043e\u0431\u0430\u0432\u0438\u0432 \u0432 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0439 \u0442\u0430\u043a\u043e\u0435 \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0435:<\/p>\n<pre><code class=\"cpp\">\/*  \u0421\u0430\u043c\u044b\u0439 \u043b\u0438\u0431\u0435\u0440\u0430\u043b\u044c\u043d\u044b\u0439 \u043f\u0430\u0440\u0441\u0435\u0440 ASCII STL: \u0438\u0433\u043d\u043e\u0440\u0438\u0440\u0443\u0435\u0442 \u0432\u0441\u0451, \u043a\u0440\u043e\u043c\u0435  *  \u0441\u043b\u043e\u0432\u0430 'vertex', \u0430 \u0437\u0430\u0442\u0435\u043c \u043e\u0434\u043d\u043e \u0437\u0430 \u0434\u0440\u0443\u0433\u0438\u043c \u0441\u0447\u0438\u0442\u044b\u0432\u0430\u0435\u0442 \u0442\u0440\u0438 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f float. *\/<\/code><\/pre>\n<p>  \u0417\u0430\u0433\u0440\u0443\u0437\u043a\u0430 ASCII STL \u0432\u0441\u0435\u0433\u0434\u0430 \u043a\u0430\u0437\u0430\u043b\u0430\u0441\u044c \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u043c\u0435\u0434\u043b\u0435\u043d\u043d\u043e\u0439, \u043d\u043e \u044f \u043f\u0440\u0435\u0434\u043f\u043e\u043b\u0430\u0433\u0430\u043b, \u0447\u0442\u043e \u043f\u0440\u0438\u0447\u0438\u043d\u0430 \u044d\u0442\u043e\u0433\u043e \u0432 \u043d\u0435\u044d\u0444\u0444\u0435\u043a\u0442\u0438\u0432\u043d\u043e\u043c \u0442\u0435\u043a\u0441\u0442\u043e\u0432\u043e\u043c \u0444\u043e\u0440\u043c\u0430\u0442\u0435.<\/p>\n<p>  (<em>\u0422\u0443\u0447\u0438 \u0441\u0433\u0443\u0449\u0430\u044e\u0442\u0441\u044f.<\/em>)<\/p>\n<hr>\n<p>  \u0417\u0430 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0434\u043d\u0435\u0439 \u043f\u0440\u043e\u0438\u0437\u043e\u0448\u043b\u043e \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u043e\u0431\u044b\u0442\u0438\u0439:<\/p>\n<ul>\n<li>\u0412\u043f\u0435\u0440\u0432\u044b\u0435 \u0437\u0430 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043b\u0435\u0442 \u044f \u0432\u0435\u0440\u043d\u0443\u043b\u0441\u044f \u043a \u0441\u0442\u0430\u0440\u043e\u043c\u0443 \u043a\u043e\u0434\u0443 Erizo, \u0447\u0442\u043e\u0431\u044b \u0443\u0441\u0442\u0440\u0430\u043d\u0438\u0442\u044c <a href=\"https:\/\/github.com\/mkeeter\/erizo\/commit\/d4683f94a4aa0b674bdde0fa53fb6f92d6e1979c\">\u043e\u0448\u0438\u0431\u043a\u0443 \u0444\u043e\u043a\u0443\u0441\u0438\u0440\u043e\u0432\u043a\u0438 \u043d\u0430 macOS<\/a><\/li>\n<li>\u041e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043b\u0438 \u0441\u0442\u0430\u0442\u044c\u044e \u043f\u0440\u043e GTA Online<\/li>\n<li>\u0418\u0437 \u043f\u043e\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0432\u0448\u0435\u0439 \u0434\u0438\u0441\u043a\u0443\u0441\u0441\u0438\u0438 \u044f \u0443\u0437\u043d\u0430\u043b, \u0447\u0442\u043e <a href=\"https:\/\/news.ycombinator.com\/item?id=26302744\"><code>\u043f\u0430\u0440\u0441\u0438\u043d\u0433 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u043a\u0432\u0430\u0434\u0440\u0430\u0442\u0438\u0447\u043d\u044b\u043c \u0438\u0437-\u0437\u0430 \u043c\u043d\u043e\u0433\u043e\u043a\u0440\u0430\u0442\u043d\u044b\u0445 \u0432\u044b\u0437\u043e\u0432\u043e\u0432 sscanf<\/code><\/a><\/li>\n<li>\u042f \u0437\u0430\u043c\u0435\u0442\u0438\u043b, \u0447\u0442\u043e \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0430 ASCII STL \u0431\u044b\u043b\u0430 <em>\u043e\u0447\u0435\u043d\u044c \u043c\u0435\u0434\u043b\u0435\u043d\u043d\u043e\u0439<\/em>.<\/li>\n<\/ul>\n<p>  \u0412\u043e\u0442 \u043b\u043e\u0433\u0438 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 1,5-\u043c\u0435\u0433\u0430\u0431\u0430\u0439\u0442\u043d\u043e\u0433\u043e ASCII STL \u043c\u0435\u0442\u043a\u0430\u043c\u0438 \u0432\u0440\u0435\u043c\u0435\u043d\u0438 (\u0432 \u0441\u0435\u043a\u0443\u043d\u0434\u0430\u0445):<\/p>\n<pre><code class=\"plaintext\">[erizo] (0.000000) main.c:10      | Startup! [erizo] (0.162895) window.c:91    | Created window [erizo] (0.162900) window.c:95    | Made context current [erizo] (0.168715) window.c:103   | Initialized GLEW [erizo] (0.178329) window.c:91    | Created window [erizo] (0.178333) window.c:95    | Made context current [erizo] (1.818734) loader.c:109   | Parsed ASCII STL [erizo] (1.819471) loader.c:227   | Workers have deduplicated vertices [erizo] (1.819480) loader.c:237   | Got 5146 vertices (7982 triangles) [erizo] (1.819530) loader.c:240   | Waiting for buffer... [erizo] (1.819624) loader.c:326   | Allocated buffer [erizo] (1.819691) loader.c:253   | Sent buffers to worker threads [erizo] (1.819883) loader.c:258   | Joined worker threads [erizo] (1.819887) loader.c:279   | Loader thread done [erizo] (1.821291) instance.c:32  | Showed window<\/code><\/pre>\n<p>  \u0421 \u043c\u043e\u043c\u0435\u043d\u0442\u0430 \u0437\u0430\u043f\u0443\u0441\u043a\u0430 \u0434\u043e \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u043e\u043a\u043d\u0430 \u043f\u0440\u043e\u0448\u043b\u043e \u0431\u043e\u043b\u044c\u0448\u0435 1,8 \u0441\u0435\u043a\u0443\u043d\u0434\u044b!<\/p>\n<p>  \u041f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0432 \u043d\u0430 \u043f\u0430\u0440\u0441\u0435\u0440 ASCII \u0441\u0432\u0435\u0436\u0438\u043c \u0432\u0437\u0433\u043b\u044f\u0434\u043e\u043c, \u044f \u0443\u0432\u0438\u0434\u0435\u043b, \u0447\u0442\u043e \u043f\u0440\u0438\u0447\u0438\u043d\u0430 \u043e\u0447\u0435\u0432\u0438\u0434\u043d\u0430:<\/p>\n<pre><code class=\"cpp\">    \/*  The most liberal ASCII STL parser:  Ignore everything except      *  the word 'vertex', then read three floats after each one. *\/     const char VERTEX_STR[] = &quot;vertex &quot;;     while (1) {         data = strstr(data, VERTEX_STR);         if (!data) {             break;         }          \/* Skip to the first character after 'vertex' *\/         data += strlen(VERTEX_STR);          for (unsigned i=0; i &lt; 3; ++i) {             SKIP_WHILE(isspace);             float f;             const int r = sscanf(data, &quot;%f&quot;, &amp;f);             ABORT_IF(r == 0 || r == EOF, &quot;Failed to parse float&quot;);             if (buf_size == buf_count) {                 buf_size *= 2;                 buffer = (float*)realloc(buffer, buf_size * sizeof(float));             }             buffer[buf_count++] = f;              SKIP_WHILE(!isspace);         }     }<\/code><\/pre>\n<p>  \u041c\u043e\u0436\u043d\u043e \u0437\u0430\u043c\u0435\u0442\u0438\u0442\u044c, \u0447\u0442\u043e \u0432 \u043a\u043e\u0434\u0435 \u0435\u0441\u0442\u044c <code>sscanf<\/code>, \u0441\u0447\u0438\u0442\u044b\u0432\u0430\u044e\u0449\u0430\u044f \u043e\u0434\u043d\u043e \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 float \u0438\u0437 \u043d\u0430\u0447\u0430\u043b\u0430 \u043f\u043e\u0442\u043e\u043a\u0430 \u0434\u0430\u043d\u043d\u044b\u0445 \u0438 <strong>\u043a\u0430\u0436\u0434\u044b\u0439 \u0440\u0430\u0437 \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u044e\u0449\u0430\u044f \u0434\u043b\u0438\u043d\u0443 \u0432\u0441\u0435\u0439 \u0441\u0442\u0440\u043e\u043a\u0438<\/strong>.<\/p>\n<p>  \u0414\u0430, \u044f \u0441\u043e\u0432\u0435\u0440\u0448\u0438\u043b \u0442\u0443 \u0436\u0435 \u043e\u0448\u0438\u0431\u043a\u0443, \u0447\u0442\u043e \u0438 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0441\u0442\u044b, \u0440\u0430\u0431\u043e\u0442\u0430\u0432\u0448\u0438\u0435 \u043d\u0430\u0434 GTA Online: \u043d\u0430\u043f\u0438\u0441\u0430\u043b \u0432\u043d\u0435\u0437\u0430\u043f\u043d\u043e \u043a\u0432\u0430\u0434\u0440\u0430\u0442\u0438\u0447\u043d\u044b\u0439 \u043f\u0430\u0440\u0441\u0435\u0440!<\/p>\n<p>  \u0417\u0430\u043c\u0435\u043d\u0430 \u0432\u044b\u0437\u043e\u0432\u0430 <code>sscanf<\/code> \u043d\u0430 \u0432\u044b\u0437\u043e\u0432 <code>strtof<\/code> \u0441\u043d\u0438\u0437\u0438\u043b\u0430 \u0432\u0440\u0435\u043c\u044f \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u043f\u043e\u0447\u0442\u0438 \u0432 10 \u0440\u0430\u0437: \u0441 1,8 \u0441\u0435\u043a\u0443\u043d\u0434\u044b \u0434\u043e 199 \u043c\u0438\u043b\u043b\u0438\u0441\u0435\u043a\u0443\u043d\u0434.<\/p>\n<pre><code class=\"plaintext\">[erizo] (0.000000) main.c:10      | Startup! [erizo] (0.178082) window.c:91    | Created window [erizo] (0.178086) window.c:95    | Made context current [erizo] (0.184226) window.c:103   | Initialized GLEW [erizo] (0.194469) window.c:91    | Created window [erizo] (0.194472) window.c:95    | Made context current [erizo] (0.196126) loader.c:109   | Parsed ASCII STL [erizo] (0.196866) loader.c:227   | Workers have deduplicated vertices [erizo] (0.196871) loader.c:237   | Got 5146 vertices (7982 triangles) [erizo] (0.196921) loader.c:240   | Waiting for buffer... [erizo] (0.197013) loader.c:326   | Allocated buffer [erizo] (0.197082) loader.c:253   | Sent buffers to worker threads [erizo] (0.197303) loader.c:258   | Joined worker threads [erizo] (0.197306) loader.c:279   | Loader thread done [erizo] (0.199328) instance.c:32  | Showed window<\/code><\/pre>\n<p>  <\/p>\n<hr>\n<p>  \u042d\u0442\u043e \u0441\u0442\u0430\u043b\u043e \u0438\u0434\u0435\u0430\u043b\u044c\u043d\u044b\u043c \u043d\u0430\u043f\u043e\u043c\u0438\u043d\u0430\u043d\u0438\u0435\u043c \u043e \u0442\u043e\u043c, \u0447\u0442\u043e \u0434\u0430\u0436\u0435 \u0435\u0441\u043b\u0438 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u0443\u0435\u0448\u044c \u043c\u043d\u043e\u0433\u043e \u043b\u0435\u0442, \u043b\u043e\u0432\u0443\u0448\u043a\u0438 \u043d\u0430\u0445\u043e\u0434\u044f\u0442\u0441\u044f <em>\u0432\u0441\u0435\u0433\u0434\u0430<\/em>. \u0412 <a href=\"https:\/\/en.cppreference.com\/mwiki\/index.php?title=cpp\/io\/c\/fscanf&amp;amp;oldid=125683\"><code>\u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438 sscanf<\/code><\/a> \u043d\u0435 \u0443\u043a\u0430\u0437\u0430\u043d\u0430 \u0435\u0451 \u0432\u0440\u0435\u043c\u0435\u043d\u043d\u0430\u044f \u0441\u043b\u043e\u0436\u043d\u043e\u0441\u0442\u044c, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u044d\u0442\u043e \u043e\u0441\u043e\u0431\u043e \u0445\u0438\u0442\u0440\u044b\u0439 \u043f\u0438\u0441\u0442\u043e\u043b\u0435\u0442 \u0434\u043b\u044f \u0432\u044b\u0441\u0442\u0440\u0435\u043b\u0430 \u0441\u0435\u0431\u0435 \u0432 \u043d\u043e\u0433\u0443, \u0438 \u043c\u043d\u0435 \u043a\u0430\u0436\u0435\u0442\u0441\u044f, \u0447\u0442\u043e \u043d\u0435 \u043e\u0434\u0438\u043d \u044f \u0431\u043b\u0443\u0436\u0434\u0430\u043b \u0432\u043e \u0442\u044c\u043c\u0435 \u043d\u0435\u0432\u0435\u0436\u0435\u0441\u0442\u0432\u0430.<\/p>\n<p>  \u0412\u043e\u0437\u043c\u043e\u0436\u043d\u043e, \u0432\u044b \u0441\u0430\u043c\u0438 \u043d\u0435 \u0441\u0442\u043e\u043b\u043a\u043d\u0451\u0442\u0435\u0441\u044c \u0441 \u043f\u043e\u0434\u043e\u0431\u043d\u044b\u043c \u043d\u0430\u043f\u043e\u043c\u0438\u043d\u0430\u043d\u0438\u0435\u043c, \u043d\u043e \u0432\u0441\u044f\u043a\u0438\u0439 \u0440\u0430\u0437, \u043a\u043e\u0433\u0434\u0430 \u0432\u044b \u0431\u0443\u0434\u0435\u0442\u0435 \u0447\u0438\u0442\u0430\u0442\u044c \u043f\u043e\u0442\u0440\u044f\u0441\u0430\u044e\u0449\u0443\u044e \u0438\u0441\u0442\u043e\u0440\u0438\u044e \u043e \u043f\u043b\u043e\u0445\u043e\u043c \u043a\u043e\u0434\u0435, \u043f\u043e\u043c\u043d\u0438\u0442\u0435 \u2014 \u044d\u0442\u043e <i>\u043c\u043e\u0436\u0435\u0442<\/i> \u0441\u043b\u0443\u0447\u0438\u0442\u044c\u0441\u044f \u0438 \u0441 \u0432\u0430\u043c\u0438!<\/p>\n<p>  (\u041e\u0447\u0435\u0432\u0438\u0434\u043d\u043e, \u043c\u043e\u0440\u0430\u043b\u044c \u0438\u0441\u0442\u043e\u0440\u0438\u0438 \u0442\u0430\u043a\u043e\u0432\u0430: \u043d\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 <code>sscanf<\/code> \u0434\u043b\u044f \u043c\u043d\u043e\u0433\u043e\u043a\u0440\u0430\u0442\u043d\u043e\u0433\u043e \u043f\u0430\u0440\u0441\u0438\u043d\u0433\u0430 \u043e\u0434\u0438\u043d\u043e\u0447\u043d\u044b\u0445 \u0442\u043e\u043a\u0435\u043d\u043e\u0432 \u0438\u0437 \u043d\u0430\u0447\u0430\u043b\u0430 \u0441\u0442\u0440\u043e\u043a\u0438; \u0443\u0432\u0435\u0440\u0435\u043d, \u0443 \u0432\u0430\u0441 \u0432\u0441\u0451 \u0431\u0443\u0434\u0435\u0442 \u043d\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u043e, \u0435\u0441\u043b\u0438 \u0432\u044b \u043f\u0440\u043e\u0441\u0442\u043e \u0438\u0437\u0431\u0435\u0436\u0438\u0442\u0435 \u044d\u0442\u043e\u0433\u043e.)<\/p>\n<hr>\n<p>  <\/p>\n<h4>\u041d\u0430 \u043f\u0440\u0430\u0432\u0430\u0445 \u0440\u0435\u043a\u043b\u0430\u043c\u044b<\/h4>\n<p>  VDSina \u043f\u0440\u0435\u0434\u043b\u0430\u0433\u0430\u0435\u0442 <a href=\"https:\/\/vdsina.ru\/cloud-servers?partner=habr427\">\u043c\u043e\u0449\u043d\u044b\u0435 \u0438 \u043d\u0435\u0434\u043e\u0440\u043e\u0433\u0438\u0435 VPS<\/a> \u0441 \u043f\u043e\u0441\u0443\u0442\u043e\u0447\u043d\u043e\u0439 \u043e\u043f\u043b\u0430\u0442\u043e\u0439. \u0418\u043d\u0442\u0435\u0440\u043d\u0435\u0442-\u043a\u0430\u043d\u0430\u043b \u0434\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u2014 500 \u041c\u0435\u0433\u0430\u0431\u0438\u0442, \u0437\u0430\u0449\u0438\u0442\u0430 \u043e\u0442 DDoS-\u0430\u0442\u0430\u043a \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u0430 \u0432 \u0442\u0430\u0440\u0438\u0444, \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c Windows, Linux \u0438\u043b\u0438 \u0432\u043e\u043e\u0431\u0449\u0435 \u041e\u0421 \u0441\u043e \u0441\u0432\u043e\u0435\u0433\u043e \u043e\u0431\u0440\u0430\u0437\u0430, \u0430 \u0435\u0449\u0451 \u043e\u0447\u0435\u043d\u044c \u0443\u0434\u043e\u0431\u043d\u0430\u044f \u043f\u0430\u043d\u0435\u043b\u044c \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0441\u0435\u0440\u0432\u0435\u0440\u0430\u043c\u0438 <a href=\"https:\/\/habr.com\/ru\/company\/vdsina\/blog\/460107\/\">\u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0439 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438<\/a>. \u041e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u043f\u043e\u043f\u0440\u043e\u0431\u0443\u0439\u0442\u0435! <\/p>\n<p>  <a href=\"https:\/\/vdsina.ru\/cloud-servers?partner=habr427\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/8p\/3v\/z4\/8p3vz47nluspfyc0axlkx88gdua.png\"><\/a><\/div>\n<p> \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\/vdsina\/blog\/562370\/\"> https:\/\/habr.com\/ru\/company\/vdsina\/blog\/562370\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"\n<div class=\"post__text post__text-html post__text_v1\" id=\"post-content-body\">\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/ge\/h8\/b7\/geh8b7ilytqtvhufh3ntsz8oqyy.jpeg\"><\/div>\n<p>  \u041d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043c\u0435\u0441\u044f\u0446\u0435\u0432 \u043d\u0430\u0437\u0430\u0434 \u0432 \u043d\u043e\u0432\u043e\u0441\u0442\u044f\u0445 \u0432\u0441\u043f\u043b\u044b\u043b\u0430 <a href=\"https:\/\/nee.lv\/2021\/02\/28\/How-I-cut-GTA-Online-loading-times-by-70\/\">\u043f\u043e\u0442\u0440\u044f\u0441\u0430\u044e\u0449\u0430\u044f \u0441\u0442\u0430\u0442\u044c\u044f<\/a> [\u043f\u0435\u0440\u0435\u0432\u043e\u0434\u044b \u043d\u0430 \u0425\u0430\u0431\u0440\u0435: <a href=\"https:\/\/habr.com\/ru\/post\/544764\/\">\u043e\u0434\u0438\u043d<\/a> \u0438 <a href=\"https:\/\/habr.com\/ru\/company\/itsumma\/blog\/544830\/\">\u0432\u0442\u043e\u0440\u043e\u0439<\/a>] \u043e Grand Theft Auto Online.<\/p>\n<p>  \u0421\u043e\u0432\u0435\u0442\u0443\u044e \u043f\u0440\u043e\u0447\u0438\u0442\u0430\u0442\u044c \u0441\u0442\u0430\u0442\u044c\u044e \u0446\u0435\u043b\u0438\u043a\u043e\u043c, \u043d\u043e \u0435\u0441\u043b\u0438 \u0432\u043a\u0440\u0430\u0442\u0446\u0435, GTA Online \u0438\u043c\u0435\u043b\u0430 <a href=\"https:\/\/accidentallyquadratic.tumblr.com\/\">\u0432\u043d\u0435\u0437\u0430\u043f\u043d\u043e \u043a\u0432\u0430\u0434\u0440\u0430\u0442\u0438\u0447\u043d\u0443\u044e<\/a> \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c \u043f\u0440\u0438 \u043f\u0430\u0440\u0441\u0438\u043d\u0433\u0435 \u0431\u043e\u043b\u044c\u0448\u043e\u0433\u043e JSON-\u0431\u043b\u043e\u0431\u0430 (\u0438\u0437-\u0437\u0430 \u043c\u043d\u043e\u0433\u043e\u043a\u0440\u0430\u0442\u043d\u044b\u0445 \u0432\u044b\u0437\u043e\u0432\u043e\u0432 <code>strlen<\/code>); \u043f\u043e\u0441\u043b\u0435 \u0443\u0441\u0442\u0440\u0430\u043d\u0435\u043d\u0438\u044f \u044d\u0442\u043e\u0439 \u043e\u0448\u0438\u0431\u043a\u0438 \u0432\u0440\u0435\u043c\u044f \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u0443\u043c\u0435\u043d\u044c\u0448\u0438\u043b\u043e\u0441\u044c \u043f\u043e\u0447\u0442\u0438 \u043d\u0430 70%.<\/p>\n<p>  \u042d\u0442\u043e \u0432\u044b\u0437\u0432\u0430\u043b\u043e <a href=\"https:\/\/news.ycombinator.com\/item?id=26296339\">\u043e\u0436\u0438\u0432\u043b\u0451\u043d\u043d\u044b\u0435 \u0434\u0438\u0441\u043a\u0443\u0441\u0441\u0438\u0438<\/a>: \u0432 \u044d\u0442\u043e\u043c \u0432\u0438\u043d\u043e\u0432\u0430\u0442 C? \u0418\u043b\u0438, \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e, <a href=\"https:\/\/twitter.com\/Jonathan_Blow\/status\/1366452792563359744\">&quot;web shit&quot;<\/a>? \u0418\u043b\u0438 <a href=\"https:\/\/twitter.com\/fasterthanlime\/status\/1366187333507293184\">\u043a\u0430\u043f\u0438\u0442\u0430\u043b\u0438\u0437\u043c \u0438 \u0435\u0433\u043e \u0441\u0442\u0438\u043c\u0443\u043b\u044b<\/a>?<\/p>\n<p>  \u041e\u0434\u043d\u0430\u043a\u043e \u0432\u0441\u0435 \u0431\u044b\u043b\u0438 \u0441\u043e\u043b\u0438\u0434\u0430\u0440\u043d\u044b \u0432 \u043e\u0434\u043d\u043e\u043c: <em>\u043e\u043d\u0438<\/em> \u0431\u044b \u043d\u0438 \u0437\u0430 \u0447\u0442\u043e \u043d\u0435 \u043d\u0430\u043f\u0438\u0441\u0430\u043b\u0438 \u043f\u043e\u0434\u043e\u0431\u043d\u043e\u0439 \u0433\u043b\u0443\u043f\u043e\u0441\u0442\u0438.<\/p>\n<p>  (<em>\u0412\u044b \u0443\u0436\u0435 \u0447\u0443\u0432\u0441\u0442\u0432\u0443\u0435\u0442\u0435, \u0447\u0442\u043e \u043d\u0430\u0434\u0432\u0438\u0433\u0430\u0435\u0442\u0441\u044f?<\/em>)<\/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-324825","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/324825","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=324825"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/324825\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=324825"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=324825"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=324825"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}