EXAPUNKS

EXAPUNKS

View Stats:
US Government - size vs. cycles
Any reason why size for this one is set so low (150) while I see people solving the level with cycles near 4000? Just curious.

I solved the level with 845 size but only 753 cycles. I'm working on going back through and ripping out @reps and making them loops but I'm still not sure I'll get under 150. I managed to get a reasonable working solution in about 90 minutes and really don't want to have to come up with another more complex one just to get under 150 size.
< >
Showing 1-7 of 7 comments
Got size down to about 245 and cycles just over 800. Getting any less size will be a bit painful but I do see a path to it.
So true, man! My one and only solution is 469/191 (which is clearly way above the size limit) and I just can't force myself to roll @rep macros into loops - that's such a waste of cycles...
And at the same time on the reddit community leaderboard one can see 233/140 and 1763/44 results. Well, after watching the GIF I could probably make something similar to the first one, but I'm not eager to steal ready solutions. Kinda angry I haven't figured it out on my own.
Isn't 150 the maximum in the campaign, completely?

Also, am I missing something here, since I've got some very middle of the road solutions for this one, that are 110-150 size and an acceptable (if improveable) 1300-1500 cycles.
Originally posted by Azijn:
Isn't 150 the maximum in the campaign, completely?
150 Is the maximum, because Zach made it maximum, right? There's no real reason for it, not even some silly lore justification like EXA having only 128-WORD long memory or anything else. So if the developer wanted, he probably could increase the limit.
Originally posted by Azijn:
Also, am I missing something here, since I've got some very middle of the road solutions for this one, that are 110-150 size and an acceptable (if improveable) 1300-1500 cycles.
I don't know how exactly your solution works, but you probably miss long @reps. When you copy a block of data, you may use a loop like Copy 10 x, Mark foo, copy f m, decrement counter, test counter, jump foo. And on the reciever side there will be mark bar, test mrd, jump bar. This will give you 6*10+1=61 cycle long iteration (copy to M takes 2 cycles). Or you may simply use @rep 10, Copy f m @end on one side and similar copy m f macro on the other. And then do this for your buffer EXA too. And then for the EXA who originally sends meta-data. And then for some1 else. And then you want to add NOOPs for better sync (my original code had almost four dozens of those). But at some point you look at the size and start crying...
After a little optimizing, I've used 4 @rep 10 (used to be two), two of which would be more efficient with @rep 100, but you know, that would make the code unreadable when unrolled. They're just used for copying those chunks of DNA.

Not a single TEST MRD (or NOOP). The reason is mostly that, at this stage in the game... I don't think I even knew the command existed

My favored approach is just to have a COPY M T (on the local channel), and just wait until the other party says "GO!". This gives 1187cycles/125size/84activity, which is I think pretty deesh?

150 Is the maximum, because Zach made it maximum, right?
Sure, but I took it as implied by the OP that they felt this was low relative to other levels. While rather it is the same as other levels, and it is higher than a lot of others (max 50 or 100).
The problem with looking at the discussions long after you've done the puzzle is you wonder about your own logic. I have only one solution, and it's 866 cycles, 134 size, so it looks like I never ran into an optimization problem here. My logic appears to involve first getting the entire segment lists for both people, storing them in 300, and then also using 300 as temp space for the segments themselves.

Needless to say, there's a heck of a lot of dancing around going on inside file 300.
I'm currently holding the 233 cycle record, using 140 lines, and I can't think of any way to use the rest of those lines. The level isn't actually that demanding on lines, it's just a level where a bad solution is punished severely.
< >
Showing 1-7 of 7 comments
Per page: 1530 50