MIRROR: javascript for ๐Ÿœ's, a tiny runtime with big ambitions
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

function is fully resolved before any memory growth

+6 -16
+1 -1
meson.build
··· 79 79 build_date = run_command('date', '+%Y-%m-%d', check: true).stdout().strip() 80 80 81 81 version_conf = configuration_data() 82 - version_conf.set('ANT_VERSION', '0.2.2.18') 82 + version_conf.set('ANT_VERSION', '0.2.2.19') 83 83 version_conf.set('ANT_GIT_HASH', git_hash) 84 84 version_conf.set('ANT_BUILD_DATE', build_date) 85 85
+5
src/ant.c
··· 4832 4832 if (own_off != 0) return mkval(T_PROP, own_off); 4833 4833 } 4834 4834 4835 + jsoff_t proto_off = lkp_proto(js, l, ptr, plen); 4836 + if (proto_off != 0) { 4837 + return resolveprop(js, mkval(T_PROP, proto_off)); 4838 + } 4839 + 4835 4840 jsval_t key = js_mkstr(js, ptr, plen); 4836 4841 return mkpropref((jsoff_t)vdata(l), (jsoff_t)vdata(key)); 4837 4842 }
-15
tests/tight_loop_no_log.js
··· 1 - function Foo() { 2 - return { 3 - lookup: function (key) { 4 - return key; 5 - } 6 - }; 7 - } 8 - 9 - const foo = new Foo(); 10 - for (let i = 0; i < 40000; i = i + 1) { 11 - foo.lookup('a'); 12 - foo.lookup('b'); 13 - foo.lookup('c'); 14 - } 15 - console.log('Done!');