improve mem usage by conditional execution of the integration part (step throught the integration if there are conflicting items)

This commit is contained in:
Kevin Jahns
2020-06-09 16:34:07 +02:00
parent 7fb63de8fc
commit 6b0154f046
5 changed files with 129 additions and 96 deletions

View File

@@ -13,13 +13,8 @@ export const structGCRefNumber = 0
* @private
*/
export class GC extends AbstractStruct {
/**
* @param {ID} id
* @param {number} length
*/
constructor (id, length) {
super(id, length)
this.deleted = true
get deleted () {
return true
}
delete () {}