-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Replace == nothing
by === nothing
#1141
Conversation
What is the reason for this change? The binary version is much more readable and with |
On Tue, Jun 27, 2023 at 08:47:58AM -0700, Lars Göttgens wrote:
You can view, comment on, or merge this pull request online at:
#1141
-- Commit Summary --
* Replace `== nothing` by `isnothing`
Why?
Is this better readable? To me: no
Is this faster? Don't know
… -- File Changes --
M examples/FieldEnumeration/abelian_extensions.jl (4)
M examples/FieldEnumeration/all_fields.jl (6)
M examples/MultDep.jl (2)
M src/AlgAssAbsOrd/Conjugacy/Conjugacy.jl (2)
M src/AlgAssAbsOrd/NEQ.jl (2)
M src/EllCrv/Periods.jl (4)
M src/Grp/Morphisms.jl (16)
M src/GrpAb/GrpAbFinGen.jl (2)
M src/GrpAb/Lattice.jl (6)
M src/Misc/Integer.jl (4)
M src/NumField/NfAbs/MPolyGcd.jl (22)
M src/NumField/NfAbs/NormRelation/SUnits.jl (2)
M src/NumFieldOrd/NfOrd/Clgp.jl (6)
M src/NumFieldOrd/NfOrd/Clgp/Main_LLL.jl (2)
M src/NumFieldOrd/NfOrd/Clgp/Map.jl (2)
M src/NumFieldOrd/NfOrd/Clgp/Sunits.jl (2)
M src/QuadForm/Quad/ZLattices.jl (6)
M src/QuadForm/Torsion.jl (4)
M test/Map/NumberField.jl (2)
M test/NfAbs/NfAbs.jl (2)
M test/testdefs.jl (2)
-- Patch Links --
https://github.com/thofma/Hecke.jl/pull/1141.patch
https://github.com/thofma/Hecke.jl/pull/1141.diff
--
Reply to this email directly or view it on GitHub:
#1141
You are receiving this because you are subscribed to this thread.
Message ID: ***@***.***>
|
== nothing
by isnothing
== nothing
by === nothing
Comparing against Sorry for the |
Thanks for the adjustment. (https://docs.julialang.org/en/v1.6/manual/performance-tips/#Checking-for-equality-with-a-singleton is the reference for the |
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## master #1141 +/- ##
==========================================
- Coverage 69.51% 69.38% -0.13%
==========================================
Files 349 349
Lines 113018 113018
==========================================
- Hits 78562 78416 -146
- Misses 34456 34602 +146
☔ View full report in Codecov by Sentry. |
No description provided.