Memory allocation improvement for `decode_libsvm` (#15803)
* Memory allocation improvement for `decode_libsvm`
This fix is an improvement to 14330. Previously string split
was handled through `str_util::Split`, which may incur unnecessary
memory allocations. This fix uses StringPiece instead.
See comment 14330 for reference.
Signed-off-by:
Yong Tang <yong.tang.github@outlook.com>
Loading
Please sign in to comment