Julia Belyakova

Results 4 issues of Julia Belyakova

`splitdef` fails with an assertion on an anonymous function with a single varargs argument: ```julia julia> splitdef(Meta.parse(" (args...) -> 0 ")) ERROR: ArgumentError: Not a function definition: :(args...->begin #= none:1...

`getfield` would be more efficient than `eval` in getting the value of a variable/type here: https://github.com/queryverse/Query.jl/blob/a4c0ea1e18227d0495a5bd764e7fae4328a56113/src/table_query_macros.jl#L75 Toy example: ```julia julia> using BenchmarkTools julia> @btime getfield(Main, Symbol("Int")) 0.015 ns (0 allocations:...

enhancement

`getfield` would be more efficient than `eval` in getting the value of a variable/function name here: https://github.com/JuliaText/TextAnalysis.jl/blob/dd67dcff6fe5444a4cbe9f244961cb97ff9c4a65/src/tagging_schemes.jl#L50-L51 Toy example: ```julia julia> using BenchmarkTools julia> foo = 42 42 julia> @btime...

When parsing JSON values from an input stream like this ```julia using JSON while !eof(stdin) JSON.parse(stdin) end ``` depending on the type of a value in the input, parsing either...