Posted: Sat Aug 05, 2006 8:18 pm
I did read that, but what does that have to do with PB4 which is the current version?Yup! If you had read the entire thread, you'd have read that I had tried this with v3.x and that I and others had noted that PureBasic's file handling (especially strings) was slow. Why else would Rings have written the FastFile library?
So what you are really saying is that you like to jump to conclusions then?Bingo! I read it, but hadn't tested it, nor did I claim that it was, when some one asked if my record processing could be the bottle neck, I said possibly since I had read that some string functions weren't as fast as they could be and my processing does do mostly string work.
Did I say that? Nope. Infact I spend most of my time tweaking my code, an old and now obsolete habit from the Amiga. But what I don't do is assume it's the fault of PB and whine on the forum about how bad or slow this or that is, instead I assume I did it wrong and try a different approch. And lo and behold, in most cases, that does the trick! But hey, whatever works, or not, for you...And I supose you've never written code before that needed tweaking?
There is no way in hell Fred and the gang can cover everything in the docs. And if you can't be bothered to write 1 single line of code to test a function, then I'd say you are simply lazy.PureBasic is nice but its documentation is rather weak, I'm getting tired of having to write test programs to find out something that could have been in the documentation. I've lost track of how many such programs I've written....
I have written several hundreds of small snippets to find out things like which way is the fastest way to do things, which way uses the least memory and so on. Sure, they could have put that all in the docs, but besides talking a great toll on the time they instead have put in the language, I wouldn't have learned as much as I have doing all those tests.
Well, there you have it. Everyone has different experiences, but atleast I don't expect Fred and the gang to cover all those differences in the docs!Really!? Where have you been? Every Basic I've used except PureBasic puts a leading space in the output from the Str command.