3 ms·
I believe the reason, besides the fact that docstrings can be consumed via a REPL, is that the docstrings get compiled into the final classes. So if we had huge
by nogridbag 8y ago
I believe the reason, besides the fact that docstrings can be consumed via a REPL, is that the docstrings get compiled into the final classes. So if we had huge JavaDoc style docstrings, it would negatively affect loading times.
- cmiles74 8y agoThis was studied a couple of years ago, it was suspected that 5-15ms could be shaved from start time by removing doc strings entirely. https://dev.clojure.org/display/design/Improving+Clojure+Start+Time https://dev.clojure.org/display/design/Improving+Clojure+Sta...
- clem 8y agoDoes AOC alleviate the effect on load times?