Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Aflitos, Saulo Alves
mapper
Commits
fa52ace4
Commit
fa52ace4
authored
Jul 03, 2014
by
Aflitos, Saulo Alves
Browse files
cleaning memory
parent
49ceb3ec
Pipeline
#413
skipped
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
vcf_stats_report.py
View file @
fa52ace4
...
...
@@ -57,8 +57,18 @@ def makehtml(gdata):
return e.charCodeAt(0);
});
var output = new Zlib.Inflate(compressData).decompress();
var strData = String.fromCharCode.apply(null, new Uint16Array(output));
var out16 = new Uint16Array(output);
var QUANTUM = 32768;
var strData = "";
for (var i = 0, len = out16.length; i < len; i += QUANTUM) {
strData += String.fromCharCode.apply(null, out16.subarray(i, Math.min(i + QUANTUM, len)));
}
window.dataall = JSON.parse(strData);
delete base64Data;
delete compressData;
delete output;
delete out16;
delete stdData;
</script>
<script>
google.load('visualization', '1', {packages: ['corechart']});
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment