[
https://jira.jboss.org/jira/browse/ISPN-276?page=com.atlassian.jira.plugi...
]
Davide Di Somma updated ISPN-276:
---------------------------------
Attachment: readByte.diff
In this patch I added a new test case to verify that readByte method (but also readBytes)
works properly.
I modified getChunkFromPosition InfinispanIndexInput's method to make the single byte
read operation faster
Expensive to read a single byte in Lucene Directory
---------------------------------------------------
Key: ISPN-276
URL:
https://jira.jboss.org/jira/browse/ISPN-276
Project: Infinispan
Issue Type: Bug
Components: Lucene Directory
Affects Versions: 4.0.0.CR1, 4.0.0.CR2
Reporter: Sanne Grinovero
Assignee: Sanne Grinovero
Fix For: 4.0.0.GA
Attachments: readByte.diff
public byte readByte() in org.infinispan.lucene.InfinispanIndexIO is doing some expensive
operations, while this is a very hot spot.
Spotted by Earwin Burrfoot on Lucene's developer list.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira