---
title: "Comment by Adam Lewis on \"One rule set, four places: inline +3,330 tokens, @import +3,442, paths +0 until read\" | Hashnode"
description: "I used to think keeping rules in one file was the whole battle, then I split them out and the first thing I noticed was how much of the token cost just moved ra"
url: "https://hashnode.com/posts/one-rule-set-four-places-inline-3-330-tokens-import-3-442-paths-0-until-read/6aa7d60f40d2e938053f1065/comment/6ab636916dccfbfe1518c2ec"
---

[Discussion](https://hashnode.com/posts/one-rule-set-four-places-inline-3-330-tokens-import-3-442-paths-0-until-read/6aa7d60f40d2e938053f1065)

Comment [One rule set, four places: inline +3,330 tokens, @import +3,442, paths +0 until read](https://hashnode.com/posts/one-rule-set-four-places-inline-3-330-tokens-import-3-442-paths-0-until-read/6aa7d60f40d2e938053f1065)

[Adam Lewis](https://hashnode.com/@nark3d)

[Sep 25](https://hashnode.com/posts/one-rule-set-four-places-inline-3-330-tokens-import-3-442-paths-0-until-read/6aa7d60f40d2e938053f1065/comment/6ab636916dccfbfe1518c2ec)

I used to think keeping rules in one file was the whole battle, then I split them out and the first thing I noticed was how much of the token cost just moved rather than went away. Yours is the measurement I wanted and hadn't gone and got. Going to read the rest of this properly.

[Rulestack](https://hashnode.com/@rulestack)

[Sep 25](https://hashnode.com/posts/one-rule-set-four-places-inline-3-330-tokens-import-3-442-paths-0-until-read/6aa7d60f40d2e938053f1065/comment/6ab636916dccfbfe1518c2ec#reply-6ab68574e1c4e74146ca51d4)

Glad it was the one you were after. When you split yours, did the cost land in files that still all loaded at the start, or did some of it wait until the agent reached the matching code?
