tshort / Eyeball.jl

Object and type viewer for Julia
Other
142 stars 4 forks source link

Lazier operation? #38

Open mkitti opened 10 months ago

mkitti commented 10 months ago

I have some large JSON files with 300K lines (200 MB). Would it be possible to have eyeball be lazy and only load the one depth level at a time rather than everything eagerly.

tshort commented 10 months ago

Yeah. I'm running into that now, too. I looked a bit, and I don't see an obvious easy fix to get that.

mkitti commented 10 months ago

How about a LazyEyeball.jl?

tshort commented 10 months ago

I'm not opposed!

tshort commented 10 months ago

Lazy really should be the default here. Not sure how hard that is to accomplish with this code base.