Reader small image

You're reading from  Hands-On Embedded Programming with Qt

Product typeBook
Published inJul 2019
Reading LevelIntermediate
PublisherPackt
ISBN-139781789952063
Edition1st Edition
Languages
Tools
Right arrow
Author (1)
John Werner
John Werner
author image
John Werner

John Werner is an internationally published author, engineer, consultant, and conference speaker with more than 15 years' experience. He has earned patents for inventions ranging from Inkjet printers to automotive ignition systems. John was one of the early users of Qt on QNX and contributed to the early knowledge of how to make it work. He is a contributor to the Qt-related information on Stack Exchange. He is currently a senior software engineer, specializing in Qt development, for Caliber Imaging & Diagnostics.
Read more about John Werner

Right arrow

Increasing efficiency in Qt

Originally, I was going to call this section Writing faster Qt code, but as I was developing the outline, I realized that what I was really talking about is writing efficient Qt code. Let me explain.

When I was young, unmarried, and living with my parents, I had money to play with so that I could build faster cars. One time, I decided to make the motor of my car more powerful without having to increase its displacement. When I was finished, the car had 50% more horsepower, and when I used the horsepower, it went through fuel 50% faster.

However, I also got something else out of this. I took the car on a long (several hour) expressway trip. What I found was that the fuel economy of the car (when driven like a sane person) went up by 50%. Why? Because in order to get more power out of the engine, I have to increase the efficiency of the engine. I used...

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Hands-On Embedded Programming with Qt
Published in: Jul 2019Publisher: PacktISBN-13: 9781789952063

Author (1)

author image
John Werner

John Werner is an internationally published author, engineer, consultant, and conference speaker with more than 15 years' experience. He has earned patents for inventions ranging from Inkjet printers to automotive ignition systems. John was one of the early users of Qt on QNX and contributed to the early knowledge of how to make it work. He is a contributor to the Qt-related information on Stack Exchange. He is currently a senior software engineer, specializing in Qt development, for Caliber Imaging & Diagnostics.
Read more about John Werner