1.Scalability 多加一台机器可多做一件事,这个就叫scalability,亦可为两台机器做一件事的时间减少为一半,叫 scalability speed up。 2.Parallelism 并行,跟concurrency不一样,这张图能很好说明区别: 3.Fault tolerance ...
分类:
其他好文 时间:
2020-05-16 00:51:44
阅读次数:
57
1. 前言 ES5中新增的一些处理数组(Array)的方法, 对于用JavaScript处理数据非常有用。我总结了一下,给这些方法分了类,大体如下: 2个索引方法:indexOf() 和 lastIndexOf(); 5个迭代方法:forEach()、map()、filter()、some()、ev ...
分类:
编程语言 时间:
2020-05-16 00:42:41
阅读次数:
68
Preprocessor programs provide preprocessors directives which tell the compiler to preprocess the source code before compiling. Examples of some prepro ...
分类:
其他好文 时间:
2020-05-16 00:28:44
阅读次数:
64
原链接 此文为使用 DeepL 机翻并进行了略微的调整。 在10.4中,我们重新实现了代码完成和其他功能,这是IDE十年来最重要的变化之一。 什么是 Code Insight 首先是一些背景。如果你对Code Insight很熟悉,请跳过前面…… Code Insight 是我们对编辑器中的一组 I ...
In an alien language, surprisingly they also use English lowercase letters, but possibly in a different order. The order of the alphabet is some permu ...
分类:
其他好文 时间:
2020-05-15 13:37:25
阅读次数:
61
以oe2.8 为例,剖析一下画等高线的过程, 在新版本的OE中, 替换为一个visibleLayer. 先看初始化过程 void ContourMap::init() { // negative means unset: _unit = -1; // uniforms we'll need: _xf ...
分类:
其他好文 时间:
2020-05-15 11:58:12
阅读次数:
99
Description: Given a non-negative integer num represented as a string, remove k digits from the number so that the new number is the smallest possible ...
分类:
其他好文 时间:
2020-05-15 00:34:42
阅读次数:
86
$ npm install px2rem-loader npm WARN deprecated natives@1.1.6: This module relies on Node.js's internals and will break at some point. Do not use it, ...
分类:
其他好文 时间:
2020-05-15 00:02:59
阅读次数:
240
Shopping overseas 一、核心词汇 snacks 零售 aisle (商店货架间的)通道 drugstore 药房、药妆店 liquor store 酒类专卖店 mall 商场 recommend 推荐 main 主要的;最重要的;最大的 bargains 便宜货 popular 受欢 ...
分类:
其他好文 时间:
2020-05-14 12:58:54
阅读次数:
119
Share Given an array of integers, 1 ≤ a[i] ≤ n (n = size of array), some elements appear twice and others appear once. Find all the elements that appe ...
分类:
其他好文 时间:
2020-05-14 11:11:27
阅读次数:
60