julia 1.10.10operations . . . . . . . . . . . . . . . . . . . . . . . . . 434 34.16 Consider using views for slices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 435 34.17 Copying data is not always bad using the type SubString. More simply, using the @views macro on a block of code converts all string slices into substrings. For example: julia> str = "long string" "long string" julia> substr = SubString(str "long" julia> typeof(substr) SubString{String} julia> @views typeof(str[1:4]) # @views converts slices to SubStrings SubString{String} Several standard functions like chop, chomp or strip return a SubString0 码力 | 1692 页 | 6.34 MB | 3 月前3
Julia 1.10.9operations . . . . . . . . . . . . . . . . . . . . . . . . . 434 34.16 Consider using views for slices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 435 34.17 Copying data is not always bad using the type SubString. More simply, using the @views macro on a block of code converts all string slices into substrings. For example: julia> str = "long string" "long string" julia> substr = SubString(str "long" julia> typeof(substr) SubString{String} julia> @views typeof(str[1:4]) # @views converts slices to SubStrings SubString{String} Several standard functions like chop, chomp or strip return a SubString0 码力 | 1692 页 | 6.34 MB | 3 月前3
Julia v1.9.4 Documentationoperations . . . . . . . . . . . . . . . . . . . . . . . . . 430 34.16 Consider using views for slices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 431 34.17 Copying data is not always bad using the type SubString. More simply, using the @views macro on a block of code converts all string slices into substrings. For example: julia> str = "long string" "long string" julia> substr = SubString(str "long" julia> typeof(substr) SubString{String} julia> @views typeof(str[1:4]) # @views converts slices to SubStrings SubString{String} Several standard functions like chop, chomp or strip return a SubString0 码力 | 1644 页 | 5.27 MB | 1 年前3
Julia 1.9.0 DEV Documentationoperations . . . . . . . . . . . . . . . . . . . . . . . . . 427 34.16 Consider using views for slices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 428 34.17 Copying data is not always bad using the type SubString. More simply, using the @views macro on a block of code converts all string slices into substrings. For example: julia> str = "long string" "long string" julia> substr = SubString(str "long" julia> typeof(substr) SubString{String} julia> @views typeof(str[1:4]) # @views converts slices to SubStrings SubString{String} Several standard functions like chop, chomp or strip return a SubString0 码力 | 1633 页 | 5.23 MB | 1 年前3
Julia 1.9.3 Documentationoperations . . . . . . . . . . . . . . . . . . . . . . . . . 430 34.16 Consider using views for slices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 431 34.17 Copying data is not always bad using the type SubString. More simply, using the @views macro on a block of code converts all string slices into substrings. For example: julia> str = "long string" "long string" julia> substr = SubString(str "long" julia> typeof(substr) SubString{String} julia> @views typeof(str[1:4]) # @views converts slices to SubStrings SubString{String} Several standard functions like chop, chomp or strip return a SubString0 码力 | 1644 页 | 5.27 MB | 1 年前3
Julia 1.9.0 rc2 Documentationoperations . . . . . . . . . . . . . . . . . . . . . . . . . 430 34.16 Consider using views for slices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 431 34.17 Copying data is not always bad using the type SubString. More simply, using the @views macro on a block of code converts all string slices into substrings. For example: julia> str = "long string" "long string" julia> substr = SubString(str "long" julia> typeof(substr) SubString{String} julia> @views typeof(str[1:4]) # @views converts slices to SubStrings SubString{String} Several standard functions like chop, chomp or strip return a SubString0 码力 | 1644 页 | 5.27 MB | 1 年前3
Julia 1.9.2 Documentationoperations . . . . . . . . . . . . . . . . . . . . . . . . . 430 34.16 Consider using views for slices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 431 34.17 Copying data is not always bad using the type SubString. More simply, using the @views macro on a block of code converts all string slices into substrings. For example: julia> str = "long string" "long string" julia> substr = SubString(str "long" julia> typeof(substr) SubString{String} julia> @views typeof(str[1:4]) # @views converts slices to SubStrings SubString{String} Several standard functions like chop, chomp or strip return a SubString0 码力 | 1644 页 | 5.27 MB | 1 年前3
Julia 1.9.1 Documentationoperations . . . . . . . . . . . . . . . . . . . . . . . . . 429 34.16 Consider using views for slices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 430 34.17 Copying data is not always bad using the type SubString. More simply, using the @views macro on a block of code converts all string slices into substrings. For example: julia> str = "long string" "long string" julia> substr = SubString(str "long" julia> typeof(substr) SubString{String} julia> @views typeof(str[1:4]) # @views converts slices to SubStrings SubString{String} Several standard functions like chop, chomp or strip return a SubString0 码力 | 1643 页 | 5.27 MB | 1 年前3
Julia 1.9.0 beta2 Documentationoperations . . . . . . . . . . . . . . . . . . . . . . . . . 430 34.16 Consider using views for slices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 431 34.17 Copying data is not always bad using the type SubString. More simply, using the @views macro on a block of code converts all string slices into substrings. For example: julia> str = "long string" "long string" julia> substr = SubString(str "long" julia> typeof(substr) SubString{String} julia> @views typeof(str[1:4]) # @views converts slices to SubStrings SubString{String} Several standard functions like chop, chomp or strip return a SubString0 码力 | 1637 页 | 5.25 MB | 1 年前3
Julia 1.9.0 rc1 Documentationoperations . . . . . . . . . . . . . . . . . . . . . . . . . 430 34.16 Consider using views for slices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 431 34.17 Copying data is not always bad using the type SubString. More simply, using the @views macro on a block of code converts all string slices into substrings. For example: julia> str = "long string" "long string" julia> substr = SubString(str "long" julia> typeof(substr) SubString{String} julia> @views typeof(str[1:4]) # @views converts slices to SubStrings SubString{String} Several standard functions like chop, chomp or strip return a SubString0 码力 | 1644 页 | 5.27 MB | 1 年前3
共 87 条
- 1
- 2
- 3
- 4
- 5
- 6
- 9













