Hi @RhoSigma! Thanks for those tips! Never thuoght of pre-SPACEing the needed string and MID$ing it in. What a great idea. I'll get working on that and see what happens. THANKS!
EDIT: I just roughly re-wrote the Encoder using SPACE$/MID$ swapping like you suggested, already a HUGE speed increase! On my laptop a 200k file took 5.55 secs encoding the old way - but only .05 sec with your way. Wow!
EDIT2: Just re-did the decoder now, just as fast! 200k string decoded in the blink of an eye! Now I'm going to data-test to make sure data is not getting messed up.
- Dav
EDIT: I just roughly re-wrote the Encoder using SPACE$/MID$ swapping like you suggested, already a HUGE speed increase! On my laptop a 200k file took 5.55 secs encoding the old way - but only .05 sec with your way. Wow!
EDIT2: Just re-did the decoder now, just as fast! 200k string decoded in the blink of an eye! Now I'm going to data-test to make sure data is not getting messed up.
- Dav