Closed oscardssmith closed 1 year ago
Patch coverage: 100.00%
and project coverage change: -0.12%
:warning:
Comparison is base (
717406d
) 89.61% compared to head (e11e475
) 89.49%.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Ope, it looks like the Documenter 1.0 release is breaking my docs, so I'll fix that separately. Merging.
hmm. There still seems to be about a 67ms delay for the first getindex. MWE is
using JSON3
str = """{
"glossary": {
"title": "example glossary",
"GlossDiv": {
"title": "S",
"GlossList": {
"GlossEntry": {
"ID": "SGML",
"SortAs": "SGML",
"GlossTerm": "Standard Generalized Markup Language",
"Acronym": "SGML",
"Abbrev": "ISO 8879:1986",
"GlossDef": {
"para": "A meta-markup language, used to create markup languages such as DocBook.",
"GlossSeeAlso": ["GML", "XML"]
},
"GlossSee": "markup"
}
}
}
}
}"""
data = JSON3.read(IOBuffer(str));
data[:glossary][:title]
The top level getindex is
get(obj::JSON3.Object{Vector{UInt8}, Vector{UInt64}}, key)
, but a nested getindex will be using a subarray so it needs different compilation.get(obj::JSON3.Object{Vector{UInt8}, SubArray{UInt64, 1, Vector{UInt64}, Tuple{UnitRange{Int64}}, true}}, key