7 ms·
32k packed is pretty fucking big for a JS ORM.....
by JimBastard 17y ago
32k packed is pretty fucking big for a JS ORM.....
- mmastrac 17y agoIt 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")
- JimBastard 17y agoI'm pretty sure I could write a better JS ORM in less then 10k unpacked (no comments / docs).