Quote:
Originally Posted by
Jewish Bear
Yes a database with 10s of millions of records isn't going to have write access when it's handling huge amounts of data, well done.
I have no idea if your being sarcastic or not, but yea, thats pretty danm common? whats your point?
Quote:
Your mind understands it faster (less than 0.0000000000000001 of a second faster! but that obviously still matters when your brain can process trillions of signals a second, just like a computer) because it's part of your mother tongue, just like and and und, your brain will always recognise and faster (if you're english, or und if you're german) because it's part of your "base programming" if you will it doesn't matter which, and as i said it's a matter of preference.
You may wana go look at some German programming... (tip: it aint in german)
Quote:
It doesn't make the difference at all, i've never seen any application that prints/echos something over 100 times
Yup, what script ever has ever output more than a 100 things... You don't believe in objects so i'm gonna guess in your code every time you show the top 100 members you get that?
[quote] see above, nobody cares about the differences any more, it's not real unless you're messing with several hundred thousand strings in 1 script, which never happens.
700,000 string? Thats a lot less than i often find myself messing with. You know what i was saying about those databases. Some companies have alot of transactions... Generating live stats reads alot of data and takes a while, those milliseconds start to count
Quote:
print is never faster than echo because it always returns 1, i will continue to drill this into your head until you understand RETURNING IS SLOWER THAN NOT RETURNING
They handle buffering differently, so not entirely true :)
Quote:
storing objects in a session is stupid, why would you ever do that? i can understand integers, booleans, arrays and strings, but not objects
If you don't understand oop i have trouble considering you as a programmer..
Quote:
"usually, its preferable to use str_replace, but when you want to replace many characters for many others characters (and not only a value) strtr is better." note i didn't say always in my post, nor did i say anything about a speed difference
What makes this better?
Quote:
my situations are logical, easy to understand and easy to comprehend, you're going on about differences that only happen in the poorest of code, i do believe my situations are far more real-world than yours
I really, really doubt that. You see, my situations happen in the real world, with real data, for real people, under real deadlines, on machines with real specs and need to work in real time. Duno how you get much more real o.0
I'm starting to follow Iszak's thinking as this is getting dull...