[mojo] Update the codebase to Mojo v25.5 nightly #113
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request updates the codebase to Mojo v25.5 (nightly).
Dependency and Configuration Updates:
pixi.tomlfile to increment the version from0.4.1to0.5.0, switch themaxdependency to a more flexible version constraint (>25.4), and include themax-nightlychannel in thechannelslist.Enhancements to
BigDecimal:AnyType,Copyable,Movable,Representable) to theBigDecimalstruct to enhance compatibility and functionality.BigDecimalto useSelfinstead ofBigDecimal, improving type consistency and reducing redundancy. This includes methods likeextend_precision,normalize, and comparison operators (__gt__,__lt__, etc.).Enhancements to
BigInt:AnyType,Comparable,Copyable,Movable) to theBigIntstruct, aligning it with the enhancements made toBigDecimal.from_list,__init__) to usevarfor input parameters, reflecting a safer and more flexible approach to handling ownership and mutability.Optimizations in
BigUIntArithmetic:datawith_datafor internal word storage in SIMD-based arithmetic methods (e.g.,add_slices_simd,subtract_simd), improving encapsulation and clarity.time,testing) across multiple files to streamline the codebase.Other Improvements:
@valuedecorator to@fieldwise_initin theRationalstruct to reflect a more appropriate initialization strategy.