官术网_书友最值得收藏!

  • Functional Kotlin
  • Mario Arias Rivu Chakraborty
  • 51字
  • 2021-06-24 19:15:30

Compiler optimization

Immutability and referential transparency help compilers to perform extensive optimizations, replacing the need of manual optimization of code and free programmers from this trade-off.

For example, this applies when you're using compile time constants (const val), as the compiler knows that the value of those variables will never change.

主站蜘蛛池模板: 东辽县| 通榆县| 翼城县| 荆州市| 蓝山县| 广河县| 南华县| 玉环县| 巫溪县| 通辽市| 威海市| 罗定市| 平利县| 苏尼特左旗| 资源县| 赫章县| 夏河县| 泸西县| 马公市| 苏尼特左旗| 邢台市| 河北省| 石楼县| 静海县| 汉中市| 南川市| 新宁县| 华宁县| 团风县| 光山县| 海门市| 富平县| 泗洪县| 仁布县| 阜宁县| 石楼县| 河北区| 广宗县| 安图县| 甘南县| 南康市|