Post Reply 
HP Prime speed vs TI-Nspire CX
11-08-2016, 08:48 PM (This post was last modified: 11-08-2016 08:49 PM by Adriweb.)
Post: #15
RE: HP Prime speed vs TI-Nspire CX
FWIW, on my TI-Nspire CX CAS, the following Lua code takes 2.28s ("2280ms" is displayed) :
Code:
local start = timer.getMilliSecCounter()
for i=0,1000000 do end
local msg = timer.getMilliSecCounter()-start

function on.paint(gc)
    gc:drawString(msg .. "ms", 0, 0)
end

The Nspire Basic is slow, as everyone knows, but Lua is pretty decent. Too bad TI didn't embed LuaJIT... that would have been quite the awesomeness.

TI-Planet.org co-administrator
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: HP Prime speed vs TI-Nspire CX - jte - 11-08-2016, 06:43 PM
RE: HP Prime speed vs TI-Nspire CX - DGM - 11-08-2016, 09:10 PM
RE: HP Prime speed vs TI-Nspire CX - Adriweb - 11-08-2016 08:48 PM
RE: HP Prime speed vs TI-Nspire CX - ttw - 11-09-2016, 08:44 AM



User(s) browsing this thread: 1 Guest(s)