C++高性能并行编程与优化 - 课件 - 06 TBB 开启的并行编程之旅多个预先分配好的线程,而不是由操作系 统负责调度线程运行在多个物理核心。 封装好了: parallel_invoke 更好的例子 第 1 章:并行循环 时间复杂度( time-efficiency )与工作量复杂度( work-efficiency ) • 在“小学二年级”算法课里,我们学过复杂度的概念,意思是算法执行所花费的时间取决于数据量 的大小 n ,比如 O(n²) 表示花费时间和数据量的平方成正比。0 码力 | 116 页 | 15.85 MB | 1 年前3
NativeScript 101Pages/Views o XML markup structure o Elements (e.g., <Label>) are NativeScript modules NativeScript Modules for UIs UI Widgets o Button o Label o TextField o TextView o SearchBar o Switch o Slider • Parity with “native” Label TextField Repeater SegmentedBar Layouts (Traditional) Absolut e Dock Grid Stack Wrap Layouts (Flexbox) GridLayout GridLayout Label TextField StackLayout Platform-Specific or o Attributes: android: or ios: o Ex: <label android:class="…" ios:class="…" /> Write once by default. Target specific platform capabilities 0 码力 | 90 页 | 40.11 MB | 1 年前3
C++高性能并行编程与优化 - 课件 - 性能优化之无分支编程 Branchless Programmingunlikely 除了 if-else 分支之外:函数指针也是一种分支,也有预判的开销 • 函数调用相当于无条件跳转指令: jmp label 或者说 call label 。 • if-else 对应于条件跳转指令: je label , jne label , jb label 等。 • 而函数指针也是无条件跳转指令: jmp [pointer] 或者说 call [pointer] ,区别在于他的地址0 码力 | 47 页 | 8.45 MB | 1 年前3
Harbor Deep Dive - Open source trusted cloud native registrywith image management Multi Deployments • Docker Compose • BOSH/Pivotal Tile • Helm Chart Label • Label in project and system scopes • Mark labels to image and chart Harbor Architecture API0 码力 | 15 页 | 8.40 MB | 1 年前3
Secure your microservices with istio step by stepreviews-v2 2) Deploy bookinfo gateway 3) Deploy reviews-v2 service without istio sidecar ( kubectl label namespace default istio-injection=disabled/enabled ) Initializing services 1) Deploy bookinfo services reviews-v2 2) Deploy bookinfo gateway 3) Deploy reviews-v2 service without istio sidecar ( kubectl label namespace default istio-injection=disabled/enabled ) http http http http http http http Result:0 码力 | 34 页 | 67.93 MB | 1 年前3
共 5 条
- 1













