<< Back to previous view

[CLJS-567] Optimize the ClojureScript reader Created: 03/Aug/13  Updated: 03/Aug/13  Resolved: 03/Aug/13

Status: Closed
Project: ClojureScript
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Enhancement Priority: Major
Reporter: Jonas Enlund Assignee: Unassigned
Resolution: Completed Votes: 0
Labels: None

Attachments: File CLJS-567.diff    
Waiting On: Jonas Enlund

 Description   

The ClojureScript reader can quite easily be optimized by switching to a more performant version of StringPushbackReader



 Comments   
Comment by Jonas Enlund [ 03/Aug/13 9:35 AM ]

On my machine the benchmark for the small datastructure drops from 75ms to 50ms and for the bigger datastructure from 2000ms to 1230ms.

I only ran the benchmarks on V8.

Comment by David Nolen [ 03/Aug/13 5:07 PM ]

fixed, http://github.com/clojure/clojurescript/commit/d19cc6c6138b950bbb6514881cc0688702cdb145

Generated at Mon Jul 28 17:56:36 CDT 2014 using JIRA 4.4#649-r158309.