Skip to content

Commit a421e34

Browse files
authored
Optimize data formatting in README.md
Removed unnecessary spaces in user and product data formatting to reduce token count.
1 parent ce0aa17 commit a421e34

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,11 @@ What if you could declare your structure once and then just send the data?
6161
%S:User:[id, name, email, role]
6262
---
6363
users: @User
64-
|u1, Alice, alice@company.com, admin
65-
|u2, Bob, bob@company.com, user
66-
|u3, Carol, carol@company.com, user
67-
|u4, Dave, dave@company.com, user
68-
|u5, Eve, eve@company.com, user
64+
|u1,Alice,alice@company.com,admin
65+
|u2,Bob,bob@company.com,user
66+
|u3,Carol,carol@company.com,user
67+
|u4,Dave,dave@company.com,user
68+
|u5,Eve,eve@company.com,user
6969
```
7070
7171
**Same data. 56% fewer tokens.**
@@ -236,18 +236,18 @@ HEDL isn't just about compression. It's about building better AI applications.
236236
%S:Product:[sku, name, price]
237237
---
238238
products: @Product
239-
| ABC-123, Widget, 29.99
240-
| DEF-456, Gadget, not_a_price # Error caught at parse time
239+
|ABC-123,Widget,29.99
240+
|DEF-456,Gadget,not_a_price # Error caught at parse time
241241
```
242242

243243
**Type-Safe References** let you link entities without duplicating data:
244244

245245
```yaml
246246
users: @User
247-
| alice, Alice Smith, alice@company.com
247+
|alice,Alice Smith,alice@company.com
248248
249249
orders: @Order
250-
| ord-001, @User:alice, 2024-01-15, 299.99
250+
|ord-001,@User:alice,2024-01-15,299.99
251251
# ^^^^^^^^^^^^ validated at parse time
252252
```
253253

0 commit comments

Comments
 (0)