Hi there, I implemented an alternative to the modular-expt function in the math/number-theory package, that uses bit-shift (https://gist.github.com/frumioj/2dcc1364464508ec359075d5014d0157), as proposed by Bruce Scheier (pseudocode in https://en.wikipedia.org/wiki/Modular_exponentiation).
Although that’s how I ended up here, my actual problem came when I thought “oh, I could just add this to my local copy of the number-theory package, and test whether my implementation is faster or slower than modular-expt.” First, I forked the github racket/math repo, and couldn’t see a way to build that independently of Racket. So then I checked out the racket repo itself, which uses raco to get me a copy of the math package collection. I was able to build with that, but it seems unconnected to the github racket/math repo. I tried various raco incantations to see if it were possible to get a copy of my forked math package, but nothing seemed to work, and I am concerned I misunderstood the instructions in https://docs.racket-lang.org/racket-build-guide/index.html Is there any document that describes how I should be able to both build and use a local math/number-theory package, and also be able to use my forked copy of that repo to commit my changes? Is it possible for me to *only* check out racket/math and build it for my local Racket installation? Thank you, - johnk -- You received this message because you are subscribed to the Google Groups "Racket Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to racket-dev+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/racket-dev/E30EA0E9-DC7F-498C-9F67-42554EBB757E%40gmail.com.