logoalt Hacker News

SmasherEpileptitoday at 7:44 PM0 repliesview on HN

> ELF MECHANISM: .strtab / .dynstr > The database primitive it reinvents: string interning

> Surprisingly a lot more falls out as well: .dynstr is gone, because name is TEXT and SQLite already interns strings

What's with this claim? SQLite does not intern strings, as far as I can find anywhere, and a quick test shows that duplicate strings are actually duplicated in a database file. You can intern strings in SQLite manually with an intern string table, but it doesn't happen automatically.