Subject Re: The POSITION
Author m_theologos
--- In, Milan Babuskov
<milanb@...> wrote:
> m_theologos wrote:
> > In all my posts I try to be as efficient as I can, pointing out
> > features which can be implemented relatively quick in order to
> > to the market what is needed _now_
> There are UDF libraries available _now_ that solve the need for
> POSITION. Why not use those, and let developers spend time on other
> important issues?
> --
> Milan Babuskov

I understand very well your position and I agree in the most part
with it.
But researching other things, I discovered that the code which
POSITION can use is already (in a big proportion) in the code-base
and I suggested that this can be used to implement, with ease, the
new function. If it needed to implement from scratch, or is a big
effort to do it, I agree, for sure, with you. But we must consider
some things about UDFs:

1. Are great way to extend with ease your server
2. Are not cross-platform
3. (At least for STRPOS) aren't officialy supported by Firebird
4. Performance penality
5. Some limitations in some constructs (arguments mainly)


m. Th.