mirror of
https://github.com/CPunch/Cosmo.git
synced 2024-11-05 00:00:10 +00:00
refactored stress test
This commit is contained in:
parent
aaed92424f
commit
4c4b5eae8d
@ -9,10 +9,7 @@ class Test
|
||||
end
|
||||
|
||||
-- stressing the GC
|
||||
local i = 0
|
||||
while true do
|
||||
for (var i = 0; ; i=i+1) do
|
||||
var x = Test("Hello world " .. i)
|
||||
x.print()
|
||||
|
||||
i = i + 1
|
||||
end
|
@ -108,11 +108,6 @@ CObjString *cosmoV_concat(CState *state, CObjString *strA, CObjString *strB) {
|
||||
|
||||
bool cosmoV_execute(CState *state);
|
||||
|
||||
typedef enum {
|
||||
CALL_CLOSURE,
|
||||
CALL_CFUNCTION
|
||||
} preCallResult;
|
||||
|
||||
static inline void callCFunction(CState *state, CosmoCFunction cfunc, int args, int offset) {
|
||||
StkPtr savedBase = cosmoV_getTop(state, args);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user