I wonder if the capability in the new ScriptForge libraries could be exploited. Several routines in there look useful, such as:
ReplaceChar Replaces all occurrences of the characters specified in the Before parameter by the corresponding characters specified in After.
ReplaceStr Replaces in a string some or all occurrences of an array of strings by an array of new strings.
Reverse Returns the input string in reversed order.
Sort Sort a one dimension array in ascending or descending order. Text comparisons can be case-sensitive or not.
All of the above I do currently using existing Calc capability (without use of macros). However, if the ScriptForge functions above were Calc functions, the result would be easier to develop and less error prone. (This is what happened when new functions such as REGEX and CONCAT were introduced.)
I probably have enough coding skills to embed these ScriptForge routines into User-Defined Calc functions. However, I am wary of doing this, because some such code I have previously developed did what I wanted but was too slow to be usable. And my spreadsheets already are sluggish, see <https://bugs.documentfoundation.org/show_bug.cgi?id=144205> or <https://bugs.documentfoundation.org/show_bug.cgi?id=144257>
Can I have feedback please on whether requests for new Calc functions such as those above are likely to be feasible and implemented?
Please, any tips on how I should write code to exploit these ScriptForge routines in a manner that makes them speedy?
David Lynch