当前位置:网站首页>C and pointers Chapter 18 runtime environment 18.4 summary
C and pointers Chapter 18 runtime environment 18.4 summary
2022-07-27 00:14:00 【weixin_ Guest time】
18.4 summary
The best way to improve program efficiency is to choose a better method for it . The next best way to improve the speed of program execution is to evaluate the performance of the program , Look at the place where the program takes the most time . Focusing optimization measures on this part of the program will produce the best results .
Tips :
Learning the runtime environment of a machine is both beneficial and dangerous : It's useful because the knowledge you get allows you to do something that you can't do in other ways ; It is dangerous because if there is anything in the program that depends on this knowledge , It may damage the portability of the program . In this era , Computers are developing rapidly , Many machines are out of date before they are put on the shelf . therefore , The possibility of program switching from one machine to another is very realistic , So we very much hope that the code has good portability .
18.5 Summary of warnings
2. Cannot link programs produced by different compilers .
18.6 Summary of programming tips
1. Use stdarg Implement variable parameter list .
3. Using certain environment specific techniques will make the program non portable .
边栏推荐
- Analysis of encoding and decoding of encode() and decode(), common encoding and why encode and decode are needed
- New features of ES6
- [C language] classic recursion problem
- 实数范围内的求模(求余)运算:负数求余究竟怎么求
- PTA 7-3 lists leaf nodes
- Search engine hijacking of black hat SEO
- Complete backpack and 01 Backpack
- Design of vision protector based on 51 single chip microcomputer
- 第1章 需求分析与ssm环境准备
- 文件上传到服务器
猜你喜欢

The place where the dream begins ---- first knowing C language (2)

Paging plug-in -- PageHelper

知识蒸馏——pytorch实现

Hcip day 2_ HCIA review comprehensive experiment

4-4 object lifecycle

Pytorch learning record (II): tensor

第3章 跨域问题
![[literature reading] an investigation on hardware aware vision transformer scaling](/img/3d/6f2cf1fc1e9189e7557703820d021f.png)
[literature reading] an investigation on hardware aware vision transformer scaling

Transformers is a graph neural network

查看 Anaconda 创建环境的位置
随机推荐
关于可穿戴式NFT你应该知道的一切!
动态sql
Apple TV HD with the first generation Siri remote is listed as obsolete
【C语言】经典的递归问题
证券公司哪家佣金最低?网上开户安全吗
Hcip day 2_ HCIA review comprehensive experiment
Re understand the life world and ourselves
Share a regular expression
Codeforces E. maximum subsequence value (greed + pigeon nest principle)
Anaconda => PyCharm => CUDA => cudnn => PyTorch 环境配置
Dynamic SQL
The attorney general and the director of the national security service of Ukraine were dismissed
JUnit、JMockit、Mockito、PowerMockito
文件上传到OSS文件服务器
12_ Binding style
Blue Bridge Cup brush question notes (word analysis)
第3章 跨域问题
Section 6: introduction to cmake grammar
Tencent cloud lightweight application server purchase method steps!
Qunar travel massive indicator data collection and storage