Performance!

This commit is contained in:
Daniel Mills
2020-11-12 21:02:09 -05:00
parent bf9c4c602b
commit 0dbff85bd8
10 changed files with 257 additions and 77 deletions

View File

@@ -39,6 +39,14 @@ public class MultiBurst
burst(r.length).queue(r).complete();
}
public void sync(Runnable... r)
{
for(Runnable i : r)
{
i.run();
}
}
public BurstExecutor burst(int estimate)
{
return new BurstExecutor(service, estimate);