Age | Commit message (Collapse) | Author | Files | Lines |
|
Since all memory used by the reader is POD in the stack, there is no benefit to
forcing code to explicitly pop everything pushed to the stack, since any
function can record an offset and pop back down to it regardless of what its
callers pushed if it knows that it does not need those items.
|
|
This improves performance, and makes the reader more suitable for embedded or
network-facing applications, at the cost of requiring the user to specify a
maximum stack size.
|
|
The constant casting just makes user code a mess, for no benefit.
|
|
|
|
|
|
|
|
This avoids some unnecessary type punning.
|
|
|