Issue Details (XML | Word | Printable)

Key: LUCENE-1121
Type: Improvement Improvement
Status: Resolved Resolved
Resolution: Won't Fix
Priority: Minor Minor
Assignee: Michael McCandless
Reporter: Michael McCandless
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Lucene - Java

Use nio.transferTo when copying large blocks of bytes

Created: 07/Jan/08 04:53 PM   Updated: 08/Oct/09 05:15 PM
Return to search
Component/s: Store
Affects Version/s: None
Fix Version/s: None

Time Tracking:
Not Specified

File Attachments:
  Size
Text File Licensed for inclusion in ASF works LUCENE-1121.patch 2008-01-20 05:15 PM Michael McCandless 8 kB
Text File Licensed for inclusion in ASF works LUCENE-1121.patch 2008-01-07 04:54 PM Michael McCandless 5 kB
Java Source File Licensed for inclusion in ASF works testIO.java 2008-01-20 05:16 PM Michael McCandless 3 kB

Lucene Fields: New
Resolution Date: 20/Jan/08 05:16 PM


 Description  « Hide
When building a CFS file, and also when merging stored fields (and
term vectors, with LUCENE-1120), we copy large blocks of bytes at
once.

We currently do this with an intermediate buffer.

But, nio.transferTo should be somewhat faster on OS's that offer low
level IO APIs for moving blocks of bytes between files.



 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
No work has yet been logged on this issue.