On Sat, Feb 18, 2017 at 1:08 AM, Nox <noxfiregal...@gmail.com> wrote: > What about wxFFileInputStream instead of wxFileInputStream? >
wxFFileInputStream appears to be about 5-6 times faster than wxFileInputStream, but that's still much much slower than RICHIO or std::ifstream. $ qa/io_benchmark/io_benchmark /tmp/all.lib 2 IO Bench Mark Util Benchmark file: /tmp/all.lib Repetitions: 2 std::fstream 317858 lines, acc: 25103384 in 16 ms std::fstream, reused 317858 lines, acc: 25103384 in 16 ms RICHIO 317858 lines, acc: 25103384 in 91 ms RICHIO, reused 317858 lines, acc: 25103384 in 90 ms New fstream IO 317858 lines, acc: 25103384 in 19 ms New fstream IO, reused 317858 lines, acc: 25103384 in 19 ms wxIStream 317858 lines, acc: 25103384 in 3558 ms wxIStream, reused 317858 lines, acc: 25103384 in 3429 ms wxFFIStream 317858 lines, acc: 25103384 in 589 ms wxFFIStream, reused 317858 lines, acc: 25103384 in 602 ms _______________________________________________ Mailing list: https://launchpad.net/~kicad-developers Post to : kicad-developers@lists.launchpad.net Unsubscribe : https://launchpad.net/~kicad-developers More help : https://help.launchpad.net/ListHelp