3 ms·
Really? Do you mean it's just super optimized and advanced, or coded badly? I kind of always assumed that famous libraries built by a team of open source genius
by EGreg 13y ago
Really? Do you mean it's just super optimized and advanced, or coded badly? I kind of always assumed that famous libraries built by a team of open source geniuses would be super tight and tested for major errors and performance inefficiencies.
No snark, I really did think this. Of course, Wordpress and Drupal do seem to have a lot of crazy architectural decisions that made maintenance difficult, so maybe I am just completely off.
Here are two JS files from a framework that I've written myself over the past few years, for my own use. Is the angular source code pretty much like this, or much more optimized?
https://github.com/EGreg/Q/blob/master/platform/plugins/Q/web/js/Q.js https://github.com/EGreg/Q/blob/master/platform/plugins/Q/we...
https://github.com/EGreg/Q/blob/master/platform/plugins/Streams/web/js/Streams.js https://github.com/EGreg/Q/blob/master/platform/plugins/Stre...
- egeozcan 13y agoIt seems that they go as far as creating their own benchmark tool to optimize their performance[1]. They also seem to have a logging tool in the works just to expose the stuff going on under the hood[2]. [1]: https://docs.google.com/file/d/0BwftRCZoTFiyRzhnVml3dlRiR1A5NEVscEl0UVlXZlNIRktZ/edit https://docs.google.com/file/d/0BwftRCZoTFiyRzhnVml3dlRiR1A5... [2]: https://github.com/angular/diary.js https://github.com/angular/diary.js