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/commits(.:format) |
| route-controller | pull_requests |
| route-action | commits |
| fetch-nonce | v2:9f8b11b0-e95f-3e75-14b4-3c309f690b58 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | D4F8:3C491E:B46399:EC9303:6A5B02C3 |
| html-safe-nonce | 6f1f251c75c28b202676873e2ad6fbe340e788432bc0a8487e784b7db43997ea |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENEY4OjNDNDkxRTpCNDYzOTk6RUM5MzAzOjZBNUIwMkMzIiwidmlzaXRvcl9pZCI6IjUzMjc0MjU3MTE0NTE2MDM2NTEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | c99c795f212951f0ed80949c7c6e5c7a04a6b07756fead6dbe5d6390beed92e7 |
| hovercard-subject-tag | pull_request:3486868582 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,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/commits |
| 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