On Mon, Apr 15, 2019 at 8:08 AM Aamer Abbas <[email protected]> wrote:

> Sort of defeats the purpose of plain text accounting though. I think the
> product would lose something special if it's in some non-plain-text format.
> If it were to go this route, I think the better solution would be to try
> some sort of caching.
>

That's already done. There's a pickle cache right next to the top-level
input file.


For example, it could be interesting to cache files in a serialized format.
> It could check to see if the file size or timestamp has changed (and then
> invalidate the cache in such an event). This would give you the option to
> move your older transactions into separate files (for example, a different
> file for each year)
>

I already though of doing this here in the big TODO file I sort of jot-down
everything to:
https://bitbucket.org/blais/beancount/src/fa1edde3bcd02a277fac193f460a39c9a1461161/TODO#lines-2311
Though I noted at the time it would be a "great idea for performance" I
don't think it would make much of a difference now.
Run bean-check -v on a large file and you'll see parsing is only a fraction
of the time spent.



On Mon, Apr 15, 2019 at 3:02 PM Alen Šiljak <[email protected]> wrote:
>
>> Just out of curiosity - would changing the data format shorten the time
>> required for processing? I know this is plain-text-accounting but it would
>> be interesting to see what effect would using SQLite have on the
>> performance.
>> It might help in reducing the load time of transactions simply due to the
>> nature of the technology.
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Beancount" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To post to this group, send email to [email protected].
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/beancount/ba60a1ca-22f0-455c-9a36-531b05e81278%40googlegroups.com
>> <https://groups.google.com/d/msgid/beancount/ba60a1ca-22f0-455c-9a36-531b05e81278%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
> --
> You received this message because you are subscribed to the Google Groups
> "Beancount" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/beancount/CAOHSxbm%2BDiBw%3DMnhoaFUa1jjs48kqqcxfsdrBg3M75eu26qUaA%40mail.gmail.com
> <https://groups.google.com/d/msgid/beancount/CAOHSxbm%2BDiBw%3DMnhoaFUa1jjs48kqqcxfsdrBg3M75eu26qUaA%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Beancount" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beancount/CAK21%2BhPJQPPOcP2GQDeAurGSiu-HAEMoWoumca%2BMPteWPGhPpQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to