08-01-2012, 08:24 AM
In the light of my recent compilation on Raspberry Pi, which took about two hours (because there are just too many source files), I decided it's time to do some housekeeping. I'd like to join more packet definition files together, just like I did with the several Player-related packets (cPacket_Player.h / .cpp)
Considering that the packeting files comprise about 85 KiB, some of which is repeated, I'm also considering actually joining *all* the packeting files into a single pair of files, with an approximated size of ~40 KiB .cpp and 20 KiB .h. Maybe even less with some trickery.
What are other devs' opinions on this? Should I keep it as it is, make several pairs by groups, or join into a single file pair? Post your opinion and reasoning here, please.
Considering that the packeting files comprise about 85 KiB, some of which is repeated, I'm also considering actually joining *all* the packeting files into a single pair of files, with an approximated size of ~40 KiB .cpp and 20 KiB .h. Maybe even less with some trickery.
What are other devs' opinions on this? Should I keep it as it is, make several pairs by groups, or join into a single file pair? Post your opinion and reasoning here, please.