|
I'm not sure I agree with your thresholds but I at least can respect the sentiment.
I'm satisfied with the optimizations I have done. Most were more than a 2 fold speed up. More like 4x-6x overall speedup in final throughput, with every optimization i made considered together.
But where most of the optimization was was in ram use, and every kB counts when you're building something that runs in under 4kB - because that's all some machine have for RAM.
Real programmers use butterflies
|
|
|
|
|
back when I was building Industrial control software (some of these systems had over 10,000 I/O points), every processor tick counted for getting as close to real time as possible. When I had to use other's libraries: I graded them on speed first, ease of use second.
one of the bigger reasons for speed was: I had no idea what the final computer would be on specs so my test computers would be at least 10 years old running XP with 2GB ram, and a 800mhz processor. if it ran fine and kept the CPU< 5% for normal load, I was pretty confident that it would run on any PC the customer supplied with out much issue.
the embedded industry is even more hard core, and is fun challenge to work with the least amount of resources possible to not max out the CPU or memory on those little chips.
I still bring that same mentality when working on any platform now. If I'm building a website or a desktop app or service, I have no idea what the end users setup is going to be like and may be trying to run still on an 800mhz because they can't afford anything newer. (and yes I know of a few people in this situation).
so yes working on any project to make it just a little faster is a definitely a with me, and likely many others out there.
|
|
|
|
|
Well, in my case there's a significant downside to optimizing the way simdjson does - simdjson must index the entire document, and while it does so very quickly, it uses gobs of RAM.
My parser will run reasonably on a 4kB machine.
Consider that this "twice as fast" scenario is only on workstations and servers that are 64-bit and like i said, requires gobs of RAM.
Even without it I get massive throughput, even on old PCs so what's the point of going further than that when doing so requires me to load the entire document into RAM, and makes it so it can't run on an 8-bit machine - won't even compile.
That was my calculus. I hope that seems reasonable, but if it doesn't I'm more than happy to discuss it. I'm just a nerd like that.
Real programmers use butterflies
|
|
|
|
|
First of the year, it's like a Winter Wonderland out there!
As in "I Wonder when that white cr@p is going to bugger off?"
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Saw a documentary about a Belgian couple that emigrated to Norway, they discovered a bit too late that the region they were in was notorious for the amount of snow falling. Only a few months of the year they did not have to shovel snow.
|
|
|
|
|
We had a couple move in next door to us one fall. In the spring they sold the house because they couldn't handle the snow. They were from Wisconsin and I'm in Denver.
|
|
|
|
|
And they didn't enjoy riding a one-horse open sleigh?
|
|
|
|
|
So do you prefer rain and mud?
"The only place where Success comes before Work is in the dictionary." Vidal Sassoon, 1928 - 2012
|
|
|
|
|
I am sure he prefers drought and famine.
|
|
|
|
|
Well ... it isn't cold and slippery, and it doesn't have to be chipped off the car windows with a pneumatic drill ...
Snow was easier when I rode motorcycles all the time: wipe it off the seat, turn on the heated grips, and ride away - no need to worry about the speedo, you weren't going to be going fast enough to exceed speed limits anyway ...
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
OriginalGriff wrote: it doesn't have to be chipped off the car windows with a pneumatic drill ...
Concentrated washer fluid in a spray bottle. (CalciumChloride is the most efficient solution, but it will corrode your car)
|
|
|
|
|
|
Dry and frosty over here when I got up. But it started snowing about half an hour ago. It looks like it has been gradually moving east.
|
|
|
|
|
Snow started about 10am in Watford, Herts. 2" - 3" by noon. Easing off now (1pm)
|
|
|
|
|
We had a bit more here in Woking, but stopped now, and the sky is actually a bit brighter.
|
|
|
|
|
Looling outside now Richard I think it'll be mostly gone by the morning - I'm only a coulpe of miles away from you.
"I didn't mention the bats - he'd see them soon enough" - Hunter S Thompson - RIP
|
|
|
|
|
More than likely, but it depends whether it freezes tonight. I must have driven past your house on more than one occasion over the past 10 or so years.
|
|
|
|
|
You probably have Richard it's down a side road opposite St Paul's Church in Addlestone
"I didn't mention the bats - he'd see them soon enough" - Hunter S Thompson - RIP
|
|
|
|
|
Yes that was a shortcut I used to go home quite often; but the centre up Rudge Rise closed a couple of years ago, they are now based in Walton-on-Thames.
BTW Pete, the snow is still thick on the ground here.
|
|
|
|
|
There are only two centres in the Rudge Rise area that I know of, Hare Hill Club ( to be avoided ) and The Samaritans
"I didn't mention the bats - he'd see them soon enough" - Hunter S Thompson - RIP
|
|
|
|
|
It's The Samaritans that moved.
|
|
|
|
|
I always thought it was an odd place for them - smack in the middle of redneck Addlestone
"I didn't mention the bats - he'd see them soon enough" - Hunter S Thompson - RIP
|
|
|
|
|
Cheap rent.
|
|
|
|
|
Operating out of a Car Park of a dubious working mans club is a high price to pay for cheap rent Rumour has it the club may be closing - which would be bad as the customers will start drinking elsewhere { shudder }
"I didn't mention the bats - he'd see them soon enough" - Hunter S Thompson - RIP
|
|
|
|
|
We actually had a few meetings in the back room of the club; it wasn't too frightening.
We moved because there was a rumour that the council were going to build in that plot. When we made enquiries they would not confirm, but also would not give us security of tenure longer than six months. It seemed a good idea to move, and the new centre is in a more modern building with slightly better facilities.
|
|
|
|