Title: refactor: 使用 std::copy 替代 memcpy/memmove by CPythoner · Pull Request #15 · CPythoner/ByteBuffer · GitHub
Open Graph Title: refactor: 使用 std::copy 替代 memcpy/memmove by CPythoner · Pull Request #15 · CPythoner/ByteBuffer
X Title: refactor: 使用 std::copy 替代 memcpy/memmove by CPythoner · Pull Request #15 · CPythoner/ByteBuffer
Description: ByteBuffer with C++. Contribute to CPythoner/ByteBuffer development by creating an account on GitHub.
Open Graph Description: 优化 memcpy 使用 背景 既然 buffer 已经改用 std::vector 管理,部分 memcpy 可以替换为更 C++ 风格的 std::copy。 修改内容 替换为 std::copy getBytes: 使用 std::copy 替代 memcpy compact: 使用 std::copy 替代 memmove 保留 memcpy read 和 append: 保留...
X Description: 优化 memcpy 使用 背景 既然 buffer 已经改用 std::vector 管理,部分 memcpy 可以替换为更 C++ 风格的 std::copy。 修改内容 替换为 std::copy getBytes: 使用 std::copy 替代 memcpy compact: 使用 std::copy 替代 memmove 保留 memcpy read 和 append: 保留...
Opengraph URL: https://github.com/CPythoner/ByteBuffer/pull/15
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:8fe0ed2b-a471-6d2c-33d5-155f93a6369d |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | CF78:227574:33733C:43D007:6A5B235B |
| html-safe-nonce | 1a461b69ec1db6d6f3ed9ff911c36ddf1399da81c3d5357516532ae6b25eea05 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRjc4OjIyNzU3NDozMzczM0M6NDNEMDA3OjZBNUIyMzVCIiwidmlzaXRvcl9pZCI6IjgxMDk4Nzg1MDU2MDgyNTgzOTUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | b47984ea5f59e7b960f8feb4baf11270a9b816ddf0bed68e6a45c879a4c0a13b |
| hovercard-subject-tag | pull_request:3486868582 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/CPythoner/ByteBuffer/pull/15/checks |
| twitter:image | https://opengraph.githubassets.com/5b7073a80e5a3d2ff0cb17be3e9dec358fa641f7fe92c939fe5f287c70acc7d2/CPythoner/ByteBuffer/pull/15 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5b7073a80e5a3d2ff0cb17be3e9dec358fa641f7fe92c939fe5f287c70acc7d2/CPythoner/ByteBuffer/pull/15 |
| og:image:alt | 优化 memcpy 使用 背景 既然 buffer 已经改用 std::vector 管理,部分 memcpy 可以替换为更 C++ 风格的 std::copy。 修改内容 替换为 std::copy getBytes: 使用 std::copy 替代 memcpy compact: 使用 std::copy 替代 memmove 保留 memcpy read 和 append: 保留... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | CPythoner |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5290d7e14309ad1e76106a9c4237bd1041517e83ea182c8ab756752cb0c6940b |
| turbo-cache-control | no-cache |
| go-import | github.com/CPythoner/ByteBuffer git https://github.com/CPythoner/ByteBuffer.git |
| octolytics-dimension-user_id | 6645605 |
| octolytics-dimension-user_login | CPythoner |
| octolytics-dimension-repository_id | 351674544 |
| octolytics-dimension-repository_nwo | CPythoner/ByteBuffer |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 351674544 |
| octolytics-dimension-repository_network_root_nwo | CPythoner/ByteBuffer |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 9c975978430e9ad293956f2bbdaf153b1bd84a99 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width