Recent

Author Topic: To optimize RTL, make function PCharToInt  (Read 37163 times)

AlexTP

  • Hero Member
  • *****
  • Posts: 2386
    • UVviewsoft
Re: To optimize RTL, make function PCharToInt
« Reply #75 on: August 14, 2021, 10:27:36 pm »
Names:
Now we have

  StrToInt
  StrToInt64
  StrToInt64Def
  StrToIntDef
  TryStrToInt
  TryStrToInt64

I suggest the word "Buffer" for 1-byte strings, and BufferW for widechar strings.

  BufferToInt
  BufferToInt64
  BufferToInt64Def
  BufferToIntDef
  TryBufferToInt
  TryBufferToInt64

MathMan

  • Sr. Member
  • ****
  • Posts: 325
Re: To optimize RTL, make function PCharToInt
« Reply #76 on: August 15, 2021, 10:53:12 am »
I am absurdly bad at naming.
In that case, I hope your wife named the kids. ;)

She did - though she didn't have a chance to do at the same time  ;)

 

TinyPortal © 2005-2018