Hi,
I observed a real dramatic difference in performace when using the
following two ways to get the same result.
(bind ?value (?stringObject codePointAt 0))
(bind ?value (Helper.stringCodePointAt ?stringObject 0))
I did some not so scientific measurements with the following clp:
(deftemplate
The time difference you're looking at is the time it takes the JVM to throw an
exception. Jess interprets an expression like this
(?string codePointAt 0)
as (assuming ?string is the symbol 'a')
(call a codePointAt 0)
That's actually ambiguous. We might be calling a static method codePointAt