IBM Developer is your one-stop location for getting hands-on training and learning in-demand skills on relevant technologies such as generative AI, data science, AI, and open source.
luajitãã¢ãã¤ã¨ãã話ãèãã¤ããã®ã§pypyã¨æ¯è¼ãã¦ã¿ãã luajit㯠id:pcl:20100203 ãåèã«ã -- prime.lua function isprime(n, primes) nsqrt = n ^ 0.5 for i = 1, #primes do if nsqrt < primes[i] then break end if n % primes[i] == 0 then return false end end return true end primes = {} for i = 2, arg[1] * 1 do if isprime(i, primes) then primes[#primes + 1] = i end end print(primes[#primes]) --確èªç¨ $ time lua5.1 prime.lua 1000000
Hello. We're proud to announce the first public release of the jitviewer. As of now, jitviewer is a slightly internal tool that helps understanding how your Python source code is compiled by the PyPy's JIT all the way down to machine code. To install it, you need a very recent version of PyPy (newer than 9th of August), for example one of the nightly builds: install pip and distribute either by cr
Good day everyone. Recent round of optimizations, especially loop invariant code motion has been very good for small to medium examples. There is work ongoing to make them scale to larger ones, however there are few examples worth showing how well they perform. This one following example, besides getting benefits from loop invariants, also shows a difference between static and dynamic compilation.
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}