Use deque instead of linked list

This commit is contained in:
Aya Morisawa
2018-08-14 08:21:25 +09:00
parent 0702d0974b
commit bde20a1a65
4 changed files with 6 additions and 37 deletions

View File

@@ -1,11 +1,11 @@
import * as childProcess from 'child_process';
import * as Deque from 'double-ended-queue';
import Xev from 'xev';
import Queue from '../misc/queue';
const ev = new Xev();
export default function() {
const log = new Queue<any>();
const log = new Deque<any>();
const p = childProcess.fork(__dirname + '/notes-stats-child.js');