How Big Are Your Projects?
-
How many files and lines are code are everyone's scripts? I'm at 7,215 lines across 35 files. Is that a little? A lot? Share yours! EDIT: The reason for the enquiry is that I'm curious how people are using HISE, as this information is useful to all of us - it's not a contest.
-
@clevername27 Around 8500 not including path data and padding with LAF stuff, but I'm in the process of cleaning it up so realistically it's probably around 5000
-
@clevername27 Wow! How am I ever gonna catch you up? My largest project (sample based monosynth) runs on hardly 200 lines.
-
@Frankbeat Don't catch up. Fewer lines is usually an indication of a more efficient script.
Comparing line numbers for totally different types of projects is fairly meaningless.
-
@d-healey Does it make a difference for a parser wether I try to avoid line breaks or not?
I tend to keep my lines very long. If I break lines between all of my JSON attribute pairs, the line count will increase significantly.
-
@Frankbeat a newline character is one byte, so it‘s not too important…
-
@iamlamprey I think LAF counts - what would it be with the LAF?
-
@iamlamprey It's not a contest, lol. I'm simply curious how people are using scripting in HISE. If it was a contest, I would think the metric would be the quality of people's samples, not the number of lines of code. I have no idea if my own usage is a lot or a little, and thus the question.
-
@iamlamprey Thank you for sharing your info - what sorts of operations are you spending most of your code on (just in general)? Most of mine are in doing things with the UI.
-
@clevername27 said in How Big Are Your Projects?:
@iamlamprey I think LAF counts - what would it be with the LAF?
Quite a bit higher, but a lot of my code is old and I've gotten a lot better at optimizing it / reducing it so I can't give an accurate guess.
Thank you for sharing your info - what sorts of operations are you spending most of your code on (just in general)? Most of mine are in doing things with the UI.
A large part of mine is the custom expansion-loading & updating, as well as tying that into the GUI.
-
@clevername27 I'm sorry if my post sounds like I would assume it to be a contest. This was not my intention.
-
@Frankbeat Brah it's all good! We're just having fun here. I hope you've had a nice weekend.
-
@clevername27 Allright, man!
I had a lot of work cutting waveform cycles for my little monosynth. But since some maps are already completed, it turned being fun then
But the title is a working draft -
around 1800 for my current projects oninit. i end up with tons of extra unused images in my images folder though as im changing things frequently so it makes the folders size quite large.
-
@Adam_G You might find it helpful to use includes and keep your on init callback mostly empty. It will help you manage larger projects.
-
@d-healey thank you wise sage
-