Click here to Skip to main content
15,503,143 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: When twice as fast doesn't matter Pin
Member 1330167924-Jan-21 21:26
Member 1330167924-Jan-21 21:26 
GeneralRe: When twice as fast doesn't matter Pin
Christian Graus24-Jan-21 11:04
mveChristian Graus24-Jan-21 11:04 
GeneralRe: When twice as fast doesn't matter Pin
honey the codewitch24-Jan-21 13:04
mvahoney the codewitch24-Jan-21 13:04 
GeneralRe: When twice as fast doesn't matter Pin
Christian Graus24-Jan-21 13:06
mveChristian Graus24-Jan-21 13:06 
GeneralRe: When twice as fast doesn't matter Pin
honey the codewitch24-Jan-21 13:13
mvahoney the codewitch24-Jan-21 13:13 
GeneralRe: When twice as fast doesn't matter Pin
Christian Graus24-Jan-21 13:19
mveChristian Graus24-Jan-21 13:19 
GeneralRe: When twice as fast doesn't matter Pin
rob tillaart25-Jan-21 0:20
rob tillaart25-Jan-21 0:20 
GeneralRe: When twice as fast doesn't matter Pin
honey the codewitch25-Jan-21 3:29
mvahoney the codewitch25-Jan-21 3:29 
rob tillaart wrote:
Energy efficient algorithms help to slow that growth.


That's a very good point. Considering my JSON library is meant to run on devices like 8-bit Arduinos, ESP32s, hopefully android phones at least, and windows, linux and apple PCs it pays to make it scale down to the smaller devices while still being efficient

I do that, and my JSON parser is so small the average query takes far less than 4kB. Between the locality and the small RAM usage, I expect the power consumption to be relatively small on small machines.

On PCs the code uses memory mapped files for performance, which of course would increase energy use despite the speed increase due to paging and such, but it would be hard to tell without profiling for energy use - a kinda tricky thing if you've never done it before.
Real programmers use butterflies

GeneralRe: When twice as fast doesn't matter Pin
W Balboos, GHB25-Jan-21 3:26
mveW Balboos, GHB25-Jan-21 3:26 
GeneralRe: When twice as fast doesn't matter Pin
honey the codewitch25-Jan-21 4:16
mvahoney the codewitch25-Jan-21 4:16 
GeneralRe: When twice as fast doesn't matter Pin
W Balboos, GHB25-Jan-21 4:18
mveW Balboos, GHB25-Jan-21 4:18 
GeneralRe: When twice as fast doesn't matter Pin
Kirk 1038982125-Jan-21 4:02
Kirk 1038982125-Jan-21 4:02 
GeneralRe: When twice as fast doesn't matter Pin
honey the codewitch25-Jan-21 4:10
mvahoney the codewitch25-Jan-21 4:10 
GeneralRe: When twice as fast doesn't matter Pin
Nelek25-Jan-21 4:29
protectorNelek25-Jan-21 4:29 
GeneralRe: When twice as fast doesn't matter Pin
obermd25-Jan-21 4:23
obermd25-Jan-21 4:23 
GeneralRe: When twice as fast doesn't matter Pin
honey the codewitch25-Jan-21 6:58
mvahoney the codewitch25-Jan-21 6:58 
GeneralRe: When twice as fast doesn't matter Pin
David On Life25-Jan-21 6:45
David On Life25-Jan-21 6:45 
GeneralRe: When twice as fast doesn't matter Pin
honey the codewitch25-Jan-21 6:56
mvahoney the codewitch25-Jan-21 6:56 
GeneralRe: When twice as fast doesn't matter Pin
David On Life25-Jan-21 7:48
David On Life25-Jan-21 7:48 
GeneralRe: When twice as fast doesn't matter Pin
honey the codewitch25-Jan-21 8:17
mvahoney the codewitch25-Jan-21 8:17 
GeneralRe: When twice as fast doesn't matter Pin
David On Life25-Jan-21 8:35
David On Life25-Jan-21 8:35 
GeneralRe: When twice as fast doesn't matter Pin
honey the codewitch25-Jan-21 8:40
mvahoney the codewitch25-Jan-21 8:40 
GeneralRe: When twice as fast doesn't matter Pin
trønderen25-Jan-21 11:38
trønderen25-Jan-21 11:38 
GeneralRe: When twice as fast doesn't matter Pin
honey the codewitch25-Jan-21 11:50
mvahoney the codewitch25-Jan-21 11:50 
GeneralRe: When twice as fast doesn't matter Pin
Matt McGuire28-Jan-21 6:12
professionalMatt McGuire28-Jan-21 6:12 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Straw Poll

How would you describe your current job?
Fighting dragons everyday or clicking the same boxes on the same forms, day after day?
  Results   363 votes