In javascript the 'long' type does not exists and need to be transpile in a large function. This seems to be the problem in openchemlib-js and explains the difference in speed between java and javascript.
https://github.com/Actelion/openchemlib/blob/master/src/main/java/com/actelion/research/chem/CanonizerBaseValue.java#L49
Would it be possible to create a method that use int instead of long in the method ?
In javascript the 'long' type does not exists and need to be transpile in a large function. This seems to be the problem in openchemlib-js and explains the difference in speed between java and javascript.
https://github.com/Actelion/openchemlib/blob/master/src/main/java/com/actelion/research/chem/CanonizerBaseValue.java#L49
Would it be possible to create a method that use int instead of long in the method ?