java - Behaviour DataInputStream into mapping -


i had problems save file disk. path save, in environment, it's mapping (the disk in server). a - when try save datainputstream loop, reading "byte per byte", takes lot of time (~12 min / mb). b- now, read passing byte[8192]. solve problem. know b faster a but, when run same code, trying save local disk, there no difference, both take same time. why mapping takes lot of time? read byte[8192] @ time can cause problems?

tks!


Comments

Popular posts from this blog

windows - Single EXE to Install Python Standalone Executable for Easy Distribution -

c# - Access objects in UserControl from MainWindow in WPF -

javascript - How to name a jQuery function to make a browser's back button work? -