Click here to Skip to main content
15,880,608 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 20:26
Member 1330167924-Jan-21 20:26 
GeneralRe: When twice as fast doesn't matter Pin
Christian Graus24-Jan-21 10:04
protectorChristian Graus24-Jan-21 10:04 
GeneralRe: When twice as fast doesn't matter Pin
honey the codewitch24-Jan-21 12:04
mvahoney the codewitch24-Jan-21 12:04 
GeneralRe: When twice as fast doesn't matter Pin
Christian Graus24-Jan-21 12:06
protectorChristian Graus24-Jan-21 12:06 
GeneralRe: When twice as fast doesn't matter Pin
honey the codewitch24-Jan-21 12:13
mvahoney the codewitch24-Jan-21 12:13 
GeneralRe: When twice as fast doesn't matter Pin
Christian Graus24-Jan-21 12:19
protectorChristian Graus24-Jan-21 12:19 
GeneralRe: When twice as fast doesn't matter Pin
rob tillaart24-Jan-21 23:20
rob tillaart24-Jan-21 23:20 
GeneralRe: When twice as fast doesn't matter Pin
honey the codewitch25-Jan-21 2:29
mvahoney the codewitch25-Jan-21 2: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 2:26
W Balboos, GHB25-Jan-21 2:26 
GeneralRe: When twice as fast doesn't matter Pin
honey the codewitch25-Jan-21 3:16
mvahoney the codewitch25-Jan-21 3:16 
GeneralRe: When twice as fast doesn't matter Pin
W Balboos, GHB25-Jan-21 3:18
W Balboos, GHB25-Jan-21 3:18 
GeneralRe: When twice as fast doesn't matter Pin
Kirk 1038982125-Jan-21 3:02
Kirk 1038982125-Jan-21 3:02 
GeneralRe: When twice as fast doesn't matter Pin
honey the codewitch25-Jan-21 3:10
mvahoney the codewitch25-Jan-21 3:10 
GeneralRe: When twice as fast doesn't matter Pin
Nelek25-Jan-21 3:29
protectorNelek25-Jan-21 3:29 
GeneralRe: When twice as fast doesn't matter Pin
obermd25-Jan-21 3:23
obermd25-Jan-21 3:23 
GeneralRe: When twice as fast doesn't matter Pin
honey the codewitch25-Jan-21 5:58
mvahoney the codewitch25-Jan-21 5:58 
GeneralRe: When twice as fast doesn't matter Pin
David On Life25-Jan-21 5:45
David On Life25-Jan-21 5:45 
GeneralRe: When twice as fast doesn't matter Pin
honey the codewitch25-Jan-21 5:56
mvahoney the codewitch25-Jan-21 5:56 
GeneralRe: When twice as fast doesn't matter Pin
David On Life25-Jan-21 6:48
David On Life25-Jan-21 6:48 
GeneralRe: When twice as fast doesn't matter Pin
honey the codewitch25-Jan-21 7:17
mvahoney the codewitch25-Jan-21 7:17 
GeneralRe: When twice as fast doesn't matter Pin
David On Life25-Jan-21 7:35
David On Life25-Jan-21 7:35 
GeneralRe: When twice as fast doesn't matter Pin
honey the codewitch25-Jan-21 7:40
mvahoney the codewitch25-Jan-21 7:40 
GeneralRe: When twice as fast doesn't matter Pin
trønderen25-Jan-21 10:38
trønderen25-Jan-21 10:38 
GeneralRe: When twice as fast doesn't matter Pin
honey the codewitch25-Jan-21 10:50
mvahoney the codewitch25-Jan-21 10:50 
GeneralRe: When twice as fast doesn't matter Pin
Matt McGuire28-Jan-21 5:12
professionalMatt McGuire28-Jan-21 5: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.