Skip to content

Revert getOpposite slowdown - #934

Merged
Dreeam-qwq merged 1 commit into
Winds-Studio:ver/26.2from
wling-art:fix/direction-opposite
Sep 24, 2026
Merged

Dreeam-qwq merged 1 commit into
Winds-Studio:ver/26.2from
wling-art:fix/direction-opposite

Conversation

@wling-art

Copy link
Copy Markdown
Member

把 Direction.getOpposite() 改回 Paper 原来的写法:return this.opposite;。

Lithium 的写法是先查数组再取值,比 Paper 直接读字段多了几步。

@Dreeam-qwq Dreeam-qwq added type: optimization Pull request for optimization type: general Pull request for general updates / changes, patch regular maintenance labels Sep 24, 2026

@Dreeam-qwq Dreeam-qwq left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

没毛病

@Dreeam-qwq
Dreeam-qwq merged commit 83bcfa9 into Winds-Studio:ver/26.2 Sep 24, 2026
2 checks passed
@wling-art
wling-art deleted the fix/direction-opposite branch September 24, 2026 13:22
@Dreeam-qwq Dreeam-qwq added type: optimization Pull request for optimization and removed type: optimization Pull request for optimization labels Sep 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: general Pull request for general updates / changes, patch regular maintenance type: optimization Pull request for optimization

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants