BaseXdb/basex — pull request #385 by dimitarp (2012-02-18 11:20:42+00:00)
Title: DataAccess Optimization and Clean-ups

[OPT] Storage: new method DataAccess.writeToken which uses arraycopy instead of calling DataAccess.write for each byte; the method is currently NOT used but it's trivial to replace the existing implementation with the proposed one; there are two performance test in DataAccessTests which demonstrate the huge difference between the two implemenation
[ADD] Storage: unit tests for DataAccess
[DEL] Storage: removed unused method DataAccess.write1; DataAccess.writeNum is private; if this refactoring is not desired, I'll remove it from the pull request