Hi everyone,

Checking if 2 strings are equal, when these strings might be of different 
encoding, whilst still maintaining good performance, can be quite difficult.
But R seems to manage reasonably well.
It appears that R uses Rf_seql() to check if 2 strings are equal.
But Rf_seql is not public in R's C API; it is hidden.
So I have 2 questions:

1) ​Why is Rf_Seql() hidden? (what would be the problem if it were made public?)
2) What would be an alternative way to re-create Rf_Seql (a way that is 
relatively stable)? (An example C function that re-creates Rf_seql() using R's 
public C Api would be really nice.)

Kind regards,


Tony.


        [[alternative HTML version deleted]]

______________________________________________
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel

Reply via email to