On Sun, Dec 25, 2016 at 05:24:14AM +0800, Oon-Ee Ng wrote:
> Regarding performance, perhaps there can be a convention regarding
> splitting input files by year.

A note of warning: last time I checked, file inclusion in Beancount was
not (yet) completely transparent. There is stuff you can move to a
separate file that you then include (e.g., transactions, account
declarations); and stuff that you cannot include and must be in the main
file you process if you want it to be effective (e.g., plugins).

So if you want your per-year files to behave, semantically, as your
entire multi-year ledger, you'll probably have to have *two* files per
year, one with the real content + one with the plugin declarations and
the include line. The multi-year ledger will have the plugin
declarations + one include per year.

I remember reading in the doc that this is something that Martin planned
to fix, but I don't know if it has happened yet (I'm running a beancount
that dates to a few months back).

Cheers.
-- 
Stefano Zacchiroli . z...@upsilon.cc . upsilon.cc/zack . . o . . . o . o
Computer Science Professor . CTO Software Heritage . . . . . o . . . o o
Former Debian Project Leader . OSI Board Director  . . . o o o . . . o .
« the first rule of tautology club is the first rule of tautology club »

-- 
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 beancount+unsubscr...@googlegroups.com.
To post to this group, send email to beancount@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beancount/20161225082740.skfbejxueummpqfa%40upsilon.cc.
For more options, visit https://groups.google.com/d/optout.

Reply via email to