about summary refs log tree commit diff
path: root/main.go
Commit message (Collapse)AuthorAge
* place bots fairlySven M. Hallberg2023-04-10
| | | | | | | | | | | | The trick is to consider not the final offsets at first, but the places between the free bytes. Select one for each bot uniformly at random; a heap is an appropriate data structure to store them. Pick a random permuation for the order of the bots and iterate over the positions from start to end. Compute the eventual offsets by adding to each the amount of space allocated so far. Thus we obtain any possible placement all over the available memory without bias.
* rename Source to CodeSven M. Hallberg2023-04-10
| | | | | Source is what goes into the assembler, not what comes out of it. Resisted the temptation to call it "text". ;P
* Bug Emile! Bug! :PTommy Markstein2023-04-09
|
* Should work, lolEmile2023-04-09