Permalink
Browse files

Reduced memory consumption.

Removed the Feedparser.nodes property, which stored every node in memory. This property wasn't used anywhere in the code and wasn't documented.
  • Loading branch information...
PaulMougel committed Sep 25, 2013
1 parent 1f2b9dc commit bd74a78f0ec0b1707e74424f26f010614ee89302
Showing with 0 additions and 3 deletions.
  1. +0 −3 main.js
View
@@ -98,7 +98,6 @@ FeedParser.prototype.init = function (){
};
this._emitted_meta = false;
this.stack = [];
- this.nodes = {};
this.xmlbase = [];
this.in_xhtml = false;
this.xhtml = {}; /* Where to store xhtml elements as associative
@@ -336,8 +335,6 @@ FeedParser.prototype.handleCloseTag = function (el){
} else {
this.stack[0][stdEl] = [this.stack[0][stdEl], n];
}
- } else {
- this.nodes = n;
}
};

0 comments on commit bd74a78

Please sign in to comment.