Skip to content

HostSort構造体の導入#351

Merged
sayurin merged 1 commit intomasterfrom
refactor-sort
Nov 30, 2021
Merged

HostSort構造体の導入#351
sayurin merged 1 commit intomasterfrom
refactor-sort

Conversation

@sayurin
Copy link
Copy Markdown
Member

@sayurin sayurin commented Nov 30, 2021

今までソート状態を表すデータがuint32_tの場合とintx4つの場合があり、相互変換の関数が用意されていたり、されておらずにインラインで変換していたり、とバラバラな実装になっていた。
ここでHostSort構造体を導入し、形式を統一する。これにより相互変換は不要になり、代入や比較もカプセル化される。

併せて、設定項目にint以外の整数も利用する(今まではintのみに制限されていた)。

@sayurin sayurin self-assigned this Nov 30, 2021
@sayurin sayurin merged commit a6ee940 into master Nov 30, 2021
@sayurin sayurin deleted the refactor-sort branch November 30, 2021 13:56
@sayurin sayurin added this to the v5.6 milestone Dec 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant