Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
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...
commit bd74a78f0ec0b1707e74424f26f010614ee89302 1 parent 1f2b9dc
@PaulMougel PaulMougel authored
Showing with 0 additions and 3 deletions.
  1. +0 −3  main.js
View
3  main.js
@@ -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;
}
};
Please sign in to comment.
Something went wrong with that request. Please try again.