Jump to content

Google: Difference between revisions

861 bytes removed ,  4 years ago
Line 133:
*No IDE
*No library
 
= Questions =
 
*Unix System call that takes path & returns inode name
stat()
 
*Signal sent by kill command by default
TERM
 
*HTML -> Div vs SPAN
Block vs inline
 
*Quick sort -> run time
n log n
 
*Fastest to slowest:
CPU
Memory
Context switching
Disk
 
Disk access may be significantly faster at times due to caching ... so can memory access (CPUs sometimes manage a caches from main memory to help speed up access and avoid competition for the bus).
Memory access could also be as slow or slightly slower than disk access at times, due to virtual memory page swapping.
Context switching needs to be extremely fast in general ... if it was slow then your CPU could begin to spend more time switching between processes than actually performing meaningful work when several processes are running concurrently.
Register access is nearly instantaneous.
 
 
= Topics 2 =
Cookies help us deliver our services. By using our services, you agree to our use of cookies.