<< Back to previous view

[CLJ-958] Make APersistentVector.iterator slightly more efficient Created: 23/Mar/12  Updated: 14/Apr/15

Status: Reopened
Project: Clojure
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Enhancement Priority: Minor
Reporter: Chris Gray Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: performance

Attachments: Text File 0001-Make-APersistentVector.iterator-slightly-more-effici.patch    
Patch: Code


The attached patch uses a sequence to create an iterator for persistent vectors. It should be slightly more efficient for PersistentVector objects than repeatedly calling nth (for reasons that I outline in the commit message).

Generated at Tue Jan 23 18:16:59 CST 2018 using JIRA 4.4#649-r158309.