We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
问题1可以直接修复。 问题2我认为可能是接口设计的问题,目前的接口下要么得多一次内存拷贝,要么得像现在这样在读取前进行resize,所以,我认为可能需要改File基类,添加一个bool LocalFile::ReadLine(StringPiece* line, size_t max_size)的接口。
不知道各位commiter认为是否可以按我说的方案修复。
The text was updated successfully, but these errors were encountered:
如果可以,我这边后续会把我们这边相关的修改提交一个pull request
Sorry, something went wrong.
No branches or pull requests
问题1可以直接修复。
问题2我认为可能是接口设计的问题,目前的接口下要么得多一次内存拷贝,要么得像现在这样在读取前进行resize,所以,我认为可能需要改File基类,添加一个bool LocalFile::ReadLine(StringPiece* line, size_t max_size)的接口。
不知道各位commiter认为是否可以按我说的方案修复。
The text was updated successfully, but these errors were encountered: