@p You made claims this was faster. Do you have benchmarks between this and the oldway to see?
@p
i do t need anything. A proper benchmark woukd be nice to back uo your claim, but if its just a guestimate then it is what it is. I just wanted to know where the xlaim came from and if it had any weight.
Ya know what is also CS 101, writing unit tests and benchmarks to go along side code that is written, even when it is known to be an improvement... Why? Simple, it helps us track the performance improvement and also help us tweak future modifications to the code and know when we make mistakes other than what we intended.
No one is saying your intent isnt justified, this is just how you write good code, that includes good tests not sure to prove out your current code, but more importantly as a measure for future tweaks to the code.
Good job and thanks for the hard work.
The thing is, optimisation is a tricky beast.
> that'd be like devising and running a benchmark to determine that a search index is faster than a full scan of the disk
I have seen many times where search indexes can be slower than full scans, just as sometimes hash tables can be slower than linked lists under the right circumstances.
I am not saying that applies here, I am not saying you are under any obligation to do a benchmark, I am not saying this is bad work in anyway.
All I'm saying is a benchmark would have been interesting and I dont rule out the possibility that under certain conditions it might show a slow down and in others a speedup, either of those might be marginal, and it would be interesting to see where the tradeover occurs and just how much of an improvement you get as various conditions grow.
Again not saying you need to do this to determine it was a good move. Just saying it would have been interesting to see, and the benchmarks in general useful for future diagnostics.
On the projects I run I like to create along side my unit tests extensive benchmarking. As features or fixes are added we watch the benchmarks change along side it, and it provides a similar CI tool as unit tests might. So I generally find it a worthwhile effort even if it may not be critical in knowing that the current feature set makes sense performance wise.
I wasnt headed anywhere. I asked you if you had a benchmark. My intent was you to either say yes, and share it, or no and I'd say "ok".
However you decided, as you tend to, to get insulting and childish and be like "this is just Cs101 you should know this dumbass".. so here we are.
Personally I dont care, I'm not developing on the project so it doesnt effect me. At some point someone might come in and write some benchmarks, that would be great. It would be a very useful tool.
I just laugh at the fact that you get your undies in a knot over someone asking a simple question tot he point you feel the need to start spewing rude quips rather than just saying "no sorry dont have one" and calling it a day.
At one point I just hope you grow up and join the rest of the adults in being able to have a normal conversation with someone.
Says the man who all I wanted to know what benchmarks you had if any, no judgement and went right to telling me my question was "CS 101".. It was a yes or no question and you've went on with your moaning about even daring to be asked it for over an hour now...
We call this projection
seriously grow up at this point. You've wasted far too much time trying to flex your ego. Its toxic and you dont do yourself any favors.
Actually I asked because I was hoping youd give a specific figure like "It has increased speed 25x" and then I can go "Nice job P, you do amazing work" and it would be a nice way to try to support you rather than criticize you and you might not feel so attacked. My plan was if you said "no" my response would be "well thanks for all the hard work, still good work", same result.
But instead you decided to jump in witht he condescending bullshit and it didnt play out that way.
But yea that was literally why I asked and what was going on in my mind. I just couldnt get past your insecurity apparently and you think everything is going to be an attack. Sadly, I can see why, you set yourself up to be hated so people wind up attacking you even when they come in with good intentions.
The irony and rhetoric