skip to content
Efficient C : performance programming techniques Preview this item
ClosePreview this item

Efficient C : performance programming techniques

Author: Dov Bulka; David Mayhew
Publisher: Reading, Mass. : Addison Wesley, ©2000.
Edition/Format:   eBook : Document : EnglishView all editions and formats

A hands-on guide to creating C++, this work aims to show readers how to create good C++ code and to dispel the myth that C++ is a slow, inefficient language. Readers can see how others have overcome  Read more...


(not yet rated) 0 with reviews - Be the first.

More like this


Find a copy online

Links to this item

Find a copy in the library

&AllPage.SpinnerRetrieving; Finding libraries that hold this item...


Additional Physical Format: Print version:
Bulka, Dov.
Efficient C.
Reading, Mass. : Addison Wesley, ©2000
(DLC) 99039175
Material Type: Document, Internet resource
Document Type: Internet Resource, Computer File
All Authors / Contributors: Dov Bulka; David Mayhew
ISBN: 0201379503 9780201379501
OCLC Number: 79870796
Description: 1 online resource (xvi, 309 pages) : illustrations
Contents: (Each chapter concludes with Key Points.)Preface. Introduction. Roots of Software Inefficiency. Our Goal. Software Efficiency: Does It Matter? Terminology. Organization of This Book. 1. The Tracing War Story. Our Initial Trace Implementation.What Went Wrong.The Recovery Plan.2. Constructors and Destructors. Inheritance.Composition.Lazy Construction.Redundant Construction.Key Points.3. Virtual Functions. Virtual Function Mechanics.Templates and Inheritance.Hard Coding.Inheritance.Templates.4. The Return Value Optimization. The Mechanics of Return-by-Value.The Return Value Optimization.Computational Constructors.5. Temporaries. Object Definition.Type Mismatch.Pass by Value.Return by Value.Eliminate Temporaries with op=().6. Single-Threaded Memory Pooling. Version 0: The Global new() and delete().Version 1: Specialized Rational Memory Manager.Version 2: Fixed-Size Object Memory Pool.Version 3: Single-Threaded Variable-Size Memory Manager.7. Multithreaded Memory Pooling. Version 4: Implementation.Version 5: Faster Locking.8. Inlining Basics. What Is Inlining?Method Invocation Costs.Why Inline?Inlining Details.Inlining Virtual Methods.Performance Gains from Inlining.9. Inlining-Performance Considerations. Cross-Call Optimization.Why Not Inline?Development and Compile-Time InliningConsiderations. Profile-BasedInlining.Inlining Rules.Singletons.Trivials.10. Inlining Tricks. Conditional Inlining.Selective Inlining.Recursive Inlining.Inlining with Static Local Variables.Architectural Caveat: Multiple Register Sets.11. Standard Template Library. Asymptotic Complexity.Insertion.Deletion.Traversal.Find.Function Objects.Better than STL?12. Reference Counting Implementation Details.Preexisting Classes.Concurrent Reference Counting.13. Coding Optimizations. Caching.Precompute.Reduce Flexibility.80-20 Rule: Speed Up the Common Path.Lazy Evaluation.Useless Computations.System Architecture.Memory Management.Library and System Calls.Compiler Optimization.14. Design Optimizations. Design Flexibility.Caching.Web Server Timestamps.Data Expansion.The Common Code Trap.Efficient Data Structures.Lazy Evaluation.getpeername().Useless Computations.Obsolete Code.15. Scalability. The SMP Architecture.Amdahl's Law.Multithreaded and Synchronization Terminology.Break Up a Task into Multiple Subtasks.Cache Shared Data.Share Nothing.Partial Sharing.Lock Granularity.False Sharing.Thundering Herd.Reader/Writer Locks.16. System Architecture Dependencies Memory Hierarchies.Registers: Kings of Memory.Disk and Memory Structures.Cache Effects.Cache Thrash.Avoid Branching.Prefer Simple Calculations to Small Branches.Threading Effects.Context Switching.Kernel Crossing.Threading Choices.Bibliography. Index. 0201379503T04062001
Responsibility: Dov Bulka, David Mayhew.


User-contributed reviews
Retrieving GoodReads reviews...
Retrieving DOGObooks reviews...


Be the first.

Similar Items

Related Subjects:(1)

Confirm this request

You may have already requested this item. Please select Ok if you would like to proceed with this request anyway.

Linked Data

Primary Entity

<> # Efficient C : performance programming techniques
    a schema:MediaObject, schema:Book, schema:CreativeWork ;
   library:oclcnum "79870796" ;
   library:placeOfPublication <> ;
   library:placeOfPublication <> ; # Reading, Mass.
   schema:about <> ;
   schema:about <> ; # C++ (Computer program language)
   schema:bookFormat schema:EBook ;
   schema:contributor <> ; # David Mayhew
   schema:copyrightYear "2000" ;
   schema:creator <> ; # Dov Bulka
   schema:datePublished "2000" ;
   schema:exampleOfWork <> ;
   schema:inLanguage "en" ;
   schema:isSimilarTo <> ;
   schema:name "Efficient C : performance programming techniques"@en ;
   schema:productID "79870796" ;
   schema:publication <> ;
   schema:publisher <> ; # Addison Wesley
   schema:url <> ;
   schema:workExample <> ;
   wdrs:describedby <> ;

Related Entities

<> # C++ (Computer program language)
    a schema:Intangible ;
   schema:name "C++ (Computer program language)"@en ;

<> # Dov Bulka
    a schema:Person ;
   schema:familyName "Bulka" ;
   schema:givenName "Dov" ;
   schema:name "Dov Bulka" ;

<> # David Mayhew
    a schema:Person ;
   schema:familyName "Mayhew" ;
   schema:givenName "David" ;
   schema:name "David Mayhew" ;

    a schema:CreativeWork ;
   rdfs:label "Efficient C." ;
   schema:description "Print version:" ;
   schema:isSimilarTo <> ; # Efficient C : performance programming techniques

    a schema:ProductModel ;
   schema:isbn "0201379503" ;
   schema:isbn "9780201379501" ;

Content-negotiable representations

Close Window

Please sign in to WorldCat 

Don't have an account? You can easily create a free account.