From bc1b0c1fed7d77f6f454d018e8d835a922d986b9 Mon Sep 17 00:00:00 2001 From: Quentin Legot Date: Tue, 20 Sep 2022 11:31:48 +0200 Subject: [PATCH] Improved performance a bit, changed Stack (LIFO) to BlockingQueue(FIFO) with same synchronization principale than Stack and improved test --- .idea/gradle.xml | 1 + .idea/workspace.xml | 24 ++++------ .../toolbox/asynctasks/AsyncTasks.java | 23 ++++----- .../toolbox/asynctasks/TasksThread.java | 19 +++++--- .../fr/altarik/toolbox/AsyncTaskTest.java | 47 ++++++++----------- 5 files changed, 53 insertions(+), 61 deletions(-) diff --git a/.idea/gradle.xml b/.idea/gradle.xml index adfc22d..a28335f 100644 --- a/.idea/gradle.xml +++ b/.idea/gradle.xml @@ -1,5 +1,6 @@ + - - - - - - - - - - - - - - - - + + + + +