From a97af306c4e9c9a6fa7c886c0ffe3079822c5203 Mon Sep 17 00:00:00 2001 From: TJ DeVries Date: Fri, 20 Aug 2021 11:11:24 -0400 Subject: feat(performance): Major performance improvements using async v2 from @oberblastmeister (#987) * start: Working w/ async jobs * short circuit to using bad finder if you pass writer. --- scratch/threaded_lua.lua | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 scratch/threaded_lua.lua (limited to 'scratch/threaded_lua.lua') diff --git a/scratch/threaded_lua.lua b/scratch/threaded_lua.lua deleted file mode 100644 index 68eddb0..0000000 --- a/scratch/threaded_lua.lua +++ /dev/null @@ -1,15 +0,0 @@ -local uv = require('luv') - --- print(vim.inspect(uv)) - - -local my_table = {} -local my_value = 1 - -local table_adder = uv.new_thread(function(tbl) - table.insert(tbl, "HELLO") -end, my_table) - -uv.thread_join(table_adder) --- print(vim.inspect(MY_TABLE)) - -- cgit v1.2.3