lua-users home
lua-l archive

Re: Feedback on (awesome) performance of lua 5.4 (work1)

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On the other hand, why does this "a=os.time() for i=1,1000000000 do end print(os.time()-a)" run much slower on 5.4 compared to 5.3?
Lua 5.3.4 Copyright (C) 1994-2017 Lua.org, PUC-Rio
a=os.time() for i=1,1000000000 do end print(os.time()-a)
9
Lua 5.4.0 (work1) Copyright (C) 1994-2018 Lua.org, PUC-Rio
a=os.time() for i=1,1000000000 do end print(os.time()-a)
14

AltStyle によって変換されたページ (->オリジナル) /