Hacker News new | ask | show | jobs
by mmastrac 5926 days ago
It would probably be a lot smaller with a packer that obfuscates field names too (ie: Closure Compiler).

He could probably get it down further by stripping all of these exception strings from the release version and replacing them with structured types and numeric codes. Some of these are really development-time assertions that shouldn't be in the release code anyways:

throw ("doSelectJoinAllExcept requires an array of peer names as an argument")

1 comments

I'm pretty sure I could write a better JS ORM in less then 10k unpacked (no comments / docs).