adventuregamestudio / ags

AGS editor and engine source code
Other
707 stars 159 forks source link

AGS 4: in Script API change default values of "caseSensitive" parameters to "true" #2502

Open ivan-mogilko opened 3 months ago

ivan-mogilko commented 3 months ago

From discussion in ticket #2487, it is suggested that "case sensitive" comparison makes more sense as a default, especially with Unicode support in mind, because "case insensitive" comparison has more matches and involves extra processing (so is slower). Thus it seems logical to do "case sensitive" comparison as a default and let users request insensitive one explicitly only when the situation demands that.

If such change is agreed upon, on its own it will only require changing default values in function declarations in the script API header.

On backwards compatibility: from what I understand people generally do not see it necessary for AGS 4. But for the sake of a record:

The points above are just for information.