| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
|
|
|
| |
...and copying ascii strings around when they're not going to be printed.
This saves quite a lot of CPU. I processed a 50MB ubx binary file. With
no "-D" options, this saved nearly 2.2M calls to gpsd_hexdump and the
processing time for this file went from 84 seconds to 35 seconds.
|
|
|
|
|
|
|
|
| |
instead, return an empty string. this sort of thing happens when we
call gpsd_hexdump inside one of the packet writers when we are about
to write a packet with no payload. Printing a NULL pointer is rather
ugly... printing an empty string is much prettier and consistent with
the SQUELCH case.
|
|
|
|
| |
calling functions should be more careful
|
| |
|
| |
|
|
All regression tests pass. No logic changes.
|