Bug#877418: dh-strip-nondeterminism: kills clojure performance
lamby at debian.org
Tue Oct 3 08:32:39 UTC 2017
> I eventually found this check performed in the load() method of RT.java:
> if((classURL != null &&
> (cljURL == null
> || lastModified(classURL, classfile) > lastModified(cljURL,
> Changing '>' with '>=' fixes the issue.
Great stuff! So, we have two options as I see it:
a) We patch clojure with ">=" (and send it upstream, etc. etc.)
b) We make strip-nondetermism subtract 1 second from the .clj files'
target modification times so it matches with the existing ">".
My preference is for "a)", naturally...
> Hey having fun with a Java puzzle and not telling the Java Team? That's
> mean ;)
I was slightly scared we had broken Java performance throughout
: :' : Chris Lamb
`. `'` lamby at debian.org / chris-lamb.co.uk
More information about the Reproducible-builds