Clojure

slurp should not read one character at a time

Details

  • Type: Enhancement Enhancement
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Declined
  • Affects Version/s: Backlog
  • Fix Version/s: Release 1.4
  • Component/s: None
  • Labels:
    None
  • Patch:
    Code
  • Approval:
    Incomplete

Description

A discussion of slurp performance came up on the mailing list. The attached patch makes slurp use a 4kb buffer size instead of reading one character at a time, resulting in a significant performance improvement.

Activity

Aaron Bedra made changes -
Field Original Value New Value
Reporter Aaron Bedra [ aaron ]
Priority Blocker [ 1 ]
Patch Code
Aaron Bedra made changes -
Attachment 0389_buffered_slurp.diff [ 10018 ]
Jürgen Hötzel made changes -
Jürgen Hötzel made changes -
Aaron Bedra made changes -
Approval Test Vetted
Aaron Bedra made changes -
Fix Version/s Approved Backlog [ 10034 ]
Fix Version/s Release.Next [ 10038 ]
Affects Version/s Approved Backlog [ 10034 ]
Priority Blocker [ 1 ] Minor [ 4 ]
Rich Hickey made changes -
Fix Version/s Release 1.4 [ 10040 ]
Fix Version/s Approved Backlog [ 10034 ]
Aaron Bedra made changes -
Approval Vetted [ 10003 ] Incomplete [ 10006 ]
Aaron Bedra made changes -
Status In Progress [ 3 ] Open [ 1 ]
Aaron Bedra made changes -
Resolution Declined [ 2 ]
Status Open [ 1 ] Resolved [ 5 ]
Stuart Halloway made changes -
Status Resolved [ 5 ] Closed [ 6 ]
Alex Miller made changes -
Affects Version/s Approved Backlog [ 10034 ]
Affects Version/s Backlog [ 10035 ]

People

Vote (0)
Watch (2)

Dates

  • Created:
    Updated:
    Resolved: