First page Back Continue Last page Overview Graphics
Switching to java.nio
Try this:
- Make ByteBufferWithInfo closed, providing methods for get/setting bytes and index rather than direct array access.
- When that works, try switching to java.nio.ByteBuffers. Will need to do some work to see if you want direct/indirect buffers, develop a cache since they're expensive to create, etc.
- Experiment with replacing our marshaling code with that actually on the nio buffer. Performance gain?
- Revamp CodeSetConversion to stop taking byte[]'s.