Re: SHA256 performance with Guile 2.2 vs. Guile 3.0

2020-01-04 Thread Göran Weinholt
Ludovic Courtès writes: > Ludovic Courtès skribis: > >> ludo@ribbon ~/src/guix$ ./pre-inst-env guix environment --pure --ad-hoc >> guile-next guile3.0-hashing -- guile ~/tmp/sha256.scm >> >> ;;; (hash "b33576331465a60b003573541bf3b1c205936a16c407bc69f8419a527bf5c988") >> clock utime stime

Re: SHA256 performance with Guile 2.2 vs. Guile 3.0

2020-01-04 Thread Nala Ginrut
Congrats! I just replaced Weinholt's hmac implementation with NSS binding for product consideration, but nice to know this great result! And thanks to Weinholt's work, Artanis had been relying on it for many years. Best regards. On Sat, Jan 4, 2020, 18:36 Göran Weinholt wrote: > Ludovic

Re: Re-exporting a replaced binding

2020-01-04 Thread Taylan Kammer
On 03.01.2020 19:30, Ludovic Courtès wrote: > > Should the #:re-export clause propagate the replace bit, or should > it not? :-) The 2.9.8 release notes say one should use #:re-export-and-replace for this use-case. Happy new year! Taylan

Re: SHA256 performance with Guile 2.2 vs. Guile 3.0

2020-01-04 Thread Arne Babenhauserheide
Göran Weinholt writes: > I've pushed a Guile-specific version of (hashing fixnums) that inlines > the generic arithmetic procedures. This and some other small changes > improved the runtime: > >clock utime stime cutime cstime gctime > before: > 2.2.6 31.06 32.61 0.03 0.00