viewpoint-particle

Author Topic: Extenders - Number of Functions  (Read 55 times)

JTaylor

  • Pundit
  • *****
  • Posts: 1646
    • Data & Stuff Inc.
Extenders - Number of Functions
« on: March 23, 2021, 07:58:09 pm »
What is the current rule on function limits in an extender?   I know years ago it was around 128(?) and one could, with a minor bit of effort, run over if trying to use too many extenders in a script.  I believe that was raised but was curious, for obvious reasons.  Would love to have one extender to maintain but that would be a significant number of functions.

Thanks.


Jim

td

  • Tech Support
  • *****
  • Posts: 3672
    • WinBatch
Re: Extenders - Number of Functions
« Reply #1 on: March 23, 2021, 09:57:52 pm »
You can find it here https://www.winbatch.com/winbatchversions.html#WB2014A just before the "New Functions:".
"No one who sees a peregrine falcon fly can ever forget the beauty and thrill of that flight."
  - Dr. Tom Cade

td

  • Tech Support
  • *****
  • Posts: 3672
    • WinBatch
Re: Extenders - Number of Functions
« Reply #2 on: March 23, 2021, 10:20:45 pm »
It would be remiss to not also mention that you can find the information in the Consolidated WIL Help file:

https://docs.winbatch.com/mergedProjects/WindowsInterfaceLanguage/html/WILAK_A__004.htm
"No one who sees a peregrine falcon fly can ever forget the beauty and thrill of that flight."
  - Dr. Tom Cade

JTaylor

  • Pundit
  • *****
  • Posts: 1646
    • Data & Stuff Inc.
Re: Extenders - Number of Functions
« Reply #3 on: March 24, 2021, 07:08:08 am »
Never crossed my mind that this info would be in the Help File.

Thanks and apologies for asking about something I could have answered.

Jim

td

  • Tech Support
  • *****
  • Posts: 3672
    • WinBatch
Re: Extenders - Number of Functions
« Reply #4 on: March 24, 2021, 09:05:43 am »
No apology is necessary.  Just like to show off when we actually have something documented.  FWIW, the 2021A release contains a new approach to extender function lookups that significantly reduces the performance impact of a large number of extender functions loaded into the interpreter's function table.

"No one who sees a peregrine falcon fly can ever forget the beauty and thrill of that flight."
  - Dr. Tom Cade

JTaylor

  • Pundit
  • *****
  • Posts: 1646
    • Data & Stuff Inc.
Re: Extenders - Number of Functions
« Reply #5 on: March 24, 2021, 09:59:38 am »
Excellent.   Probably will combine everything then so as to, hopefully, make maintenance and distribution easier.

Thanks again.

Jim