Ok... I'm back with another speed challenge. This time, it's converting strings and files to/from base64.
A friend and I have developed code that is lightning fast and I’m wondering if ANYONE here can beat our times. (It WONT be easy!!)
Simple code for conversion to (and from) Base64 can be found here:
http://www.vbsquare.com/internet/sen...dmail.bas.html
Our times follow, good luck beating them!! If you do, I’d love to see your code, if you can’t, I’ll show you ours. (Times were generated on: AMD T-Bird 750Mhz, 256MB PC133)
Code:String, 1000000 bytes Total Successes : 10 Total Failures : 0 Average Line Count : 1000000 Average Encode Time : 0.3703 sec Average Decode Time : 0.975 sec Average Total Time : 1.3453 sec File VMM32.VXD, 1,032,956 bytes Total Successes : 10 Total Failures : 0 Average Line Count : 0 Average Encode Time : 0.2703 sec Average Decode Time : 1.0742 sec Average Total Time : 1.3445 sec




Reply With Quote