How Big Are Your Projects?
-
@clevername27 Wow! How am I ever gonna catch you up? My largest project (sample based monosynth) runs on hardly 200 lines. :grinning_face_with_big_eyes:
-
@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 :beaming_face_with_smiling_eyes:
-