读算法导论遇到的几个问题

1、疑问:为啥java虚拟机操作数据的时候,数值从操作栈上获取而不是直接从局部变量获取(局部变量不是存储在操作栈上的么)?

Because most java Virtual Machine instructions operate on valuespopped from the operand stack rather than directly on local variables,instructions that transfer values between local variables and the operand stackare common in code compiled for the Java Virtual Machine.

 

因为:

i_store_1 : 从栈中弹出数据并存储在局部变量中

i_load_1: 将局部变量的值压入栈中

 

2、静态线程(static threading)的疑问?

Although the operating system allowsprogrammers to create and destroy threads, these operations are comparativelyslow. Thus, for most applications, threads persist for the duration of acomputation, which is why we call them “static.”

 

3、动态多线程?

动态多线程包括一个调度器,调度器进行自动计算负载均衡,因此简化程序开发。动态多线程有两个特征:嵌套并行和并行循环。


4、各种数学符号,及“主定理” ,:好好读读前面几章

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值