Skip to content

Commit

Permalink
fix #204
Browse files Browse the repository at this point in the history
  • Loading branch information
Moelf committed Jan 10, 2023
1 parent 71de1bf commit 5e65afe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/root.jl
Original file line number Diff line number Diff line change
Expand Up @@ -146,8 +146,8 @@ function Base.getindex(f::ROOTFile, s::AbstractString)
S
end

# @memoize LRU(maxsize = 2000) function _getindex(f::ROOTFile, s)
function _getindex(f::ROOTFile, s)
@memoize LRU(maxsize = 2000) function _getindex(f::ROOTFile, s)
# function _getindex(f::ROOTFile, s)
if '/' s
@debug "Splitting path '$s' and getting items recursively"
paths = split(s, '/')
Expand Down

0 comments on commit 5e65afe

Please sign in to comment.