Commit 48a03a16 authored by Linshizhi's avatar Linshizhi

trim unused codes.

parent 83a4bd35
...@@ -458,8 +458,6 @@ export class Channel { ...@@ -458,8 +458,6 @@ export class Channel {
throw new Error("Unable to push into Channel during Step Write"); throw new Error("Unable to push into Channel during Step Write");
} }
console.log(this.#getReadPointer(), this.#getWritePointer());
let writePos = this.#writePointerCache; let writePos = this.#writePointerCache;
this.#readPointerCache = this.#getReadPointer(); this.#readPointerCache = this.#getReadPointer();
...@@ -485,7 +483,6 @@ export class Channel { ...@@ -485,7 +483,6 @@ export class Channel {
if (plan.size == 0) if (plan.size == 0)
continue; continue;
console.log(plan);
let d_ = data.subarray(srcPos, srcPos+plan.size); let d_ = data.subarray(srcPos, srcPos+plan.size);
this.#buffer.set(d_, plan.pos); this.#buffer.set(d_, plan.pos);
srcPos += plan.size; srcPos += plan.size;
......
import { assert, NEED_TO_IMPLEMENT, isInObj } from './utils.js';
import { ENC_GRPS } from './WWGroupList.js'; import { ENC_GRPS } from './WWGroupList.js';
export const ENCODE_MODE = Object.freeze({ export const ENCODE_MODE = Object.freeze({
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment