Đang chuẩn bị liên kết để tải về tài liệu:
Optimizing C++

Đang chuẩn bị nút TẢI XUỐNG, xin hãy chờ

This book contains guidelines and advices on how to write efficient software using the C++ language. Software correctness and maintainability are taken into account, but are not the primary concerns of the guidelines. Most of the guidelines presented are not platform specific, and so are applicable to every processor, to every compiler, and to every operating system; the few platform specific advices try to cover most platforms. | 1. Optimizing software in C An optimization guide for Windows Linux and Mac platforms By Agner Fog. Copenhagen University College of Engineering. Copyright 2004 - 2012. Last updated 2012-02-29. Contents 1 Introduction. 1.1 The costs of optimizing. 2 Choosing the optimal platform. 2.1 Choice of hardware platform. 2.2 Choice of microprocessor. 2.3 Choice of operating system. 2.4 Choice of programming language. 2.5 Choice of compiler. 2.6 Choice of function libraries. 2.7 Choice of user interface framework. 2.8 Overcoming the drawbacks of the C language. 3 Finding the biggest time consumers. 3.1 How much is a clock cycle . 3.2 Use a profiler to find hot spots. 3.3 Program installation. 3.4 Automatic updates. 3.5 Program loading. 3.6 Dynamic linking and position-independent code. 3.7 File access. 3.8 System database. 3.9 Other databases. 3.10 Graphics. 3.11 Other system resources. 3.12 Network access. 3.13 Memory access. 3.14 Context switches. 3.15 Dependency chains. 3.16 Execution unit throughput. 4 Performance and usability. 5 Choosing the optimal algorithm. 6 Development process. 7 The efficiency of different C constructs. 7.1 Different kinds of variable storage. 7.2 Integers variables and operators. 7.3 Floating point variables and operators. 7.4 Enums. 7.5 Booleans. 7.6 Pointers and references. 7.7 Function pointers. 7.8 Member pointers. 7.9 Smart pointers. 7.10 Arrays. 7.11 Type conversions. 7.12 Branches and switch statements. 7.13 Loops. 7.14 Functions.47 7.15 Function parameters.49 7.16 Function return types.50 7.17 Structures and classes.50 7.18 Class data members properties .51 7.19 Class member functions methods .52 7.20 Virtual member functions.53 7.21 Runtime type identification RTTI .53 7.22 Inheritance.53 7.23 Constructors and destructors.54 7.24 Unions.55 7.25 Bitfields.55 7.26 Overloaded functions.56 7.27 Overloaded operators.56 7.28 Templates.56 7.29 Threads.59 7.30 Exceptions and error handling.60 7.31 Other cases of stack unwinding.64 7.32 .

TÀI LIỆU LIÊN QUAN
TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.