View Single Post
Old 27-03-2010, 09:23 PM   #1
lybao_huy
Đệ tử 5 túi
 
Tham gia ngày: Jan 2008
Bài gửi: 97
:
à cho hỏi reentrant code và legacy code là gì ?

à mà tôi có thấy nó viết:
The static keyword places a local variable or a function parameter in global memory instead of on the software stack.

In general, stack-based local variables and function parameters require more code to access than static local variables and function parameters. Functions that use stack-based variables are more flexible in that they can be reentrant and/or recursive(cái này thuộc cấp lưu trữ auto chỉ có trong Extended mode), từ đó suy ra trong Extended mode hiệu suất sẽ giảm xuống do có nhiều code hơn, nhưng sẽ có lợi hơn khi dùng hàm kiểu reentrant/recursive

thay đổi nội dung bởi: lybao_huy, 27-03-2010 lúc 09:33 PM.
lybao_huy vẫn chưa có mặt trong diễn đàn   Trả Lời Với Trích Dẫn