CAD97 / CAD97/pointer-utils

`slice-dst`: Support allocator API

オープン
#87 コメント 0 件 リアクション 3 件 担当者 0 名 GitHub で見る
主要言語
Rust
スター
137
フォーク
15
PR マージ指標
30日以内にマージされた PR はありません

説明

It seems that `slice-dst` can only be allocated with the global allocator. Although allocator_api is currently unstable, there is a widely used crate [allocator-api2](https://docs.rs/allocator-api2) that mirrors types and traits from [allocator_api](https://doc.rust-lang.org/unstable-book/library-features/allocator-api.html). Therefore, I think `slice-dst` can introduce a feature that enables allocator API mirrored by `allocator-api2` similar to [bumpalo](https://docs.rs/bumpalo).

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

まず slice-dst の実装を読み、bumpalo の allocator-api2 サポートと比較します。allocator_api と allocator-api2 の trait および型を確認し、機能の統合ポイントを特定します。slice-dst がグローバルアロケータを必要とせずに allocator-api2 に基づくアロケーションを使用でき、サポートされるアロケータパスをカバーできれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
rust
領域
tooling
issue の種類
機能追加
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
45/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。