On 2/8/19 10:04 AM, liviuslivius wrote:
Hi
Can we discusse about CORE-5997?
Why it was so fast closed as its iplementation is so important from performance POV?

In mentioned tracker ticket I see:
> This is e.g. slow compared to udf equivalent

I.e. I assume that this problem is raised due to UDR deprecation?
Why not use UDR (written using any language you like) for complex strings manipulatons?

Adriano say that strings are immutable - but this is only some implementation detail - all strings in C++ are mutable.

C++ is not good example here. First of all there are no strings in C/C++ at all. Just arrays of characters or classes with redefined [] operator. And std::string is also not string you want. This typedef for basic_string<char> does not understand UTF-8 like you probably wish writing char_length (not octet_length) in your sample. Also being generic array, not real string, std::string does not understand upper/lower case operations, trimming strings, may be something else.

I do not want to say that I hate your idea in general. But IMO in curretn state it's not ready for implementation.



Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to