ammarbinfaisal / sahl

a programming language with channels and coroutines/threads
MIT License
9 stars 1 forks source link

redundant consts in .bin #39

Open ammarbinfaisal opened 1 year ago

ammarbinfaisal commented 1 year ago

For example if '\n' is used multiple times then for each use there'd be a separate 0x0A byte in .bin along with 4/8 bytes for the length. Use a HashMap for consts instead of a Vec.