aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2025-03-27 15:22:40 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2025-03-27 15:22:40 -0300
commit37a1b72706b6e55e60b8d73bcbe269921976825e (patch)
tree4584d132e9b9f963faba8ed8199ef470cb5cab47 /Makefile
parentef5d171cc89b19ac1fea905b99d819b5f97cba00 (diff)
downloadlua-37a1b72706b6e55e60b8d73bcbe269921976825e.tar.gz
lua-37a1b72706b6e55e60b8d73bcbe269921976825e.tar.bz2
lua-37a1b72706b6e55e60b8d73bcbe269921976825e.zip
Small optimization in 'project' from math.random
When computing the Mersenne number, instead of spreading 1's a fixed number of times (with shifts of 1, 2, 4, 8, 16, and 32), spread only until the number becomes a Mersenne number.
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions