Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
STRING$ empowered with StringPatternFilling
#5
Hi Steve
thanks for feedbacks
1. needed correction of "posi" initialization
2. good examples of combination of two tips to get speeder code (Fillstring2 uses  MID$ and $Checking OFF/ON while Fstring uses _MEM and $Checking OFF/ON)
3. remember me the existence of _MEMNEW and _MEMFILL

here the result on my machine of your code on the left and the weird result got using $ChekingOFF/ON in function FillString with String = String + String on the right...


[Image: new-STRING-checking-OFF-effect.jpg]
while for Fillstring2 (MID$ way) and Fstring (_MEM way) the $Checking off increases the speed, for FillString (String + String way) it works in opposite direction, the speed begins slower!  LOL

4. Is it legal to use so speed in code?
Reply


Messages In This Thread
RE: STRING$ empowered with StringPatternFilling - by TempodiBasic - 05-07-2025, 11:57 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Split String to Array Using Strtok (Attempt #2) SpriggsySpriggs 0 534 12-17-2024, 06:37 PM
Last Post: SpriggsySpriggs
  PrintW - print a long string, breaking it at the last space or hyphen before col. 79 TDarcos 21 4,055 04-22-2024, 09:52 PM
Last Post: Pete
  Fonts from String Patterns bplus 15 3,694 08-30-2023, 03:01 PM
Last Post: grymmjack
  String to Array AtomicSlaughter 1 743 02-13-2023, 10:11 PM
Last Post: mnrvovrfc
  Remove Spaces (or other characters) from a String George McGinn 10 2,929 12-31-2022, 12:21 PM
Last Post: euklides

Forum Jump:


Users browsing this thread: 1 Guest(s)